Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare with alternatives? #4

Open
manveru opened this issue Jul 16, 2022 · 3 comments
Open

Compare with alternatives? #4

manveru opened this issue Jul 16, 2022 · 3 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@manveru
Copy link

manveru commented Jul 16, 2022

From a quick search I found:

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
Copy link
Owner

Good idea

@clhodapp clhodapp added documentation Improvements or additions to documentation good first issue Good for newcomers labels Jul 17, 2022
@tomberek
Copy link

I was not aware of this project while working on the nix-command shebang.... feedback and thoughts? Proposals or ideas?

@clhodapp
Copy link
Owner

@tomberek I'll play around with the new built-in shebang support once a cached build of nix 2.19 is easily available from nixpkgs and let you know if anything stands out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants