Frequently I have to work on computers without Nix installed and no
root access to install it. The primary motivation of "nix-bundle" was
to build Nix derivations to run on these systems. Will Dietz's recent
work on "static" Nix and Musl has made this experience much better.
Starting today, I am releasing a "nix" binary that will run without a
Nix store. It's available at the following URL and can be run on
x86_64-linux:
https://matthewbauer.us/nix
It contains Nix 2.0 in a self-contained shell script and is only about
10MB! You can pass it Nix commands directly like this (obviously
insecure):
```
curl
https://matthewbauer.us/nix | sh -s -- run -f
channel:nixos-unstable hello -c hello
```
It's a little slow to start, but a neat proof of concept. Please try
out lots of derivations especially graphical things like Firefox,
Emacs, etc. The issues will helps us improve the experience.