Script dependencies with Nix

21 points by abhin4v


chriswarbo

If you want to run your Nix stuff on systems without Nix (let alone NixOS), nix bundle can turn them into self-contained files, including all their dependencies. I've used its "arx" output (a form of self-extracting-then-executing tarball) to put a new JVM on an old AWS AMI; and there are also outputs for RPM and Deb packages, etc.

Thornycrackers

For even simpler scripts, you can use the Nix-shell shebang