diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-12-17 11:45:59 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-12-21 13:32:29 +0100 |
commit | 0c09f63de84e15c15e8621a53d6d25f023b4ad06 (patch) | |
tree | c662c62706a347010eb90a401c857035c032d159 /src/nix/bundle.md | |
parent | f4e9d4fcb3e393af2736f28fc41e4e3b79a8e60d (diff) |
Add 'nix bundle' manpage
Fixes #4375.
Diffstat (limited to 'src/nix/bundle.md')
-rw-r--r-- | src/nix/bundle.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/nix/bundle.md b/src/nix/bundle.md new file mode 100644 index 000000000..c183a170d --- /dev/null +++ b/src/nix/bundle.md @@ -0,0 +1,32 @@ +R""( + +# Examples + +* Bundle Hello: + + ```console + # nix bundle nixpkgs#hello + # ./hello + Hello, world! + ``` + +* Bundle a specific version of Nix: + + ```console + # nix bundle github:NixOS/nix/e3ddffb27e5fc37a209cfd843c6f7f6a9460a8ec + # ./nix --version + nix (Nix) 2.4pre20201215_e3ddffb + ``` + +# Description + +`nix bundle` packs the closure of the [Nix app](./nix3-run.md) +*installable* into a single self-extracting executable. See the +[`nix-bundle` homepage](https://github.com/matthewbauer/nix-bundle) +for more details. + +> **Note** +> +> This command only works on Linux. + +)"" |