@@ -8,7 +8,6 @@ nix-bundle is a way to package Nix attributes into single-file executables.
88* Can be run by non-root users
99* No runtime
1010* Distro agnostic
11−* Completely portable
1211* No installation
1312
1413## Getting started
@@ -28,7 +27,7 @@ $ ./hello
2827Hello, world!
2928```
3029
31−This is a standalone file that is completely portable! As long as you are running a same architecture Linux kernel and have a shell interpreter it will run. No external dependencies are required besides a compatible Linux kernel and a shell interpreter.
30+This is a standalone file that is completely portable! As long as you are running the same architecture Linux kernel and have a shell interpreter available it will run.
3231
3332Some others to try:
3433
@@ -44,9 +43,9 @@ Some others to try:
4443./nix-bundle.sh emacs /bin/emacs
4544```
4645
47−## Self-bundling
46+## Self-bundling (meta)
4847
49−Startin with v0.1.3, you can bundle nix-bundle! To do this, just use nix-bundle normally:
48+Starting with v0.1.3, you can bundle nix-bundle! To do this, just use nix-bundle normally:
5049
5150```sh
5251NIX_PATH="nixpkgs=https://github.com/matthewbauer/nixpkgs/archive/nix-bundle.tar.gz" ./nix-bundle.sh nix-bundle /bin/nix-bundle
@@ -54,7 +53,7 @@ NIX_PATH="nixpkgs=https://github.com/matthewbauer/nixpkgs/archive/nix-bundle.tar
5453
5554## [Experimental] Create AppImage executables from Nix expressions
5655
57−"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:
56+"nix-bundle.sh" tends to create fairly large outputs. This is largely because nix-bundle.sh "extracts" its payload up front. AppImage uses a different method where extraction only takes place when the file is accessed (through FUSE and SquashFS). You can now create a compliant "AppImage" using the "nix2appimage.sh" script:
5857
5958```sh
6059./nix2appimage.sh emacs
@@ -84,6 +83,8 @@ Some other examples to try:
8483
8584These may take a while because of the large closure size.
8685
86+Note that these do not currently work out of the box with NixOS. Other Linux distros should work.
87+
8788## Comparison with AppImage, FlatPak, Snappy
8889
8990| Name | Distro-agnostic | Runtime required | Root required | Storage |