2 ms·
> The only thing I miss from nix-shell was the `#!nix-shell`, which would let nix-shell 'interpret' a file The ergonomics arent as nice, but I've done with wit
by JamesSwift 4y ago
> The only thing I miss from nix-shell was the `#!nix-shell`, which would let nix-shell 'interpret' a file
The ergonomics arent as nice, but I've done with with a wrapper script. e.g. foo_wrapper.sh:
#!/usr/bin/env bash
nix shell nixpkgs#bash nixpkgs#{foo-pkg} nixpkgs#{bar-pkg} -c bash foo.sh $@