lix/src/nix/bundle.md
2020-12-21 13:32:29 +01:00

580 B

R""(

Examples

  • Bundle Hello:

    # nix bundle nixpkgs#hello
    # ./hello
    Hello, world!
    
  • Bundle a specific version of Nix:

    # nix bundle github:NixOS/nix/e3ddffb27e5fc37a209cfd843c6f7f6a9460a8ec
    # ./nix --version
    nix (Nix) 2.4pre20201215_e3ddffb
    

Description

nix bundle packs the closure of the Nix app installable into a single self-extracting executable. See the nix-bundle homepage for more details.

Note

This command only works on Linux.

)""