on master help sign in
Update README.md
commit505248d4ce3e4123ec7b69d6e75e205c43e65d41 authorMatthew Justin Bauer <mjbauer95@gmail.com> dateSun 30 Apr 2017, 02:26 (9 years ago) parentfde9bdf
1 file changed+8
README.md+8
README.md+8
@@ -44,6 +44,14 @@ Some others to try:
4444./nix-bundle.sh emacs /bin/emacs
4545```
4646
47+## Self-bundling
48+
49+Startin with v0.1.3, you can bundle nix-bundle! To do this, just use nix-bundle normally:
50+
51+```sh
52+NIX_PATH="nixpkgs=https://github.com/matthewbauer/nixpkgs/archive/nix-bundle.tar.gz" ./nix-bundle.sh nix-bundle /bin/nix-bundle
53+```
54+
4755## [Experimental] Create AppImage executables from Nix expressions
4856
4957"nix-bundle.sh" tends to create fairly large outputs. This is largely because nix-bundle.sh uses gzip compression and AppImage uses lzma compression. Anyway, you can create a compliant "AppImage" using the "nix2appimage.sh" script: