Compare with alternatives?
manveru opened this issue · 3 comments
manveru commented
From a quick search I found:
- nix-shell of course
- https://github.com/bennofs/nix-script
- https://github.com/madjar/nixbang
AFAIK the biggest difference is that you cannot easily specify the nixpkgs version (other than with pure nix-shell)
here's what I'm using right now, for example:
#! /usr/bin/env nix-shell
#! nix-shell -i ruby -p ruby_3_1 nix
#! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/71d7a4c037dc4f3e98d5c4a81b941933cf5bf675.tar.gz
clhodapp commented
Good idea
tomberek commented
I was not aware of this project while working on the nix-command shebang.... feedback and thoughts? Proposals or ideas?