We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is really annoying, for instance this won't work
#! /usr/bin/env nix-shell #! nix-shell -p 'python.withPackages(ps:with ps;[secretstorage keyring ])' ~/nixpkgs -i sh
You get a syntax error, unexpected $undefined, at (string):1:94
syntax error, unexpected $undefined, at (string):1:94
If you remove spaces on the 2nd line (works only if you have 1 package) than it works
#! /usr/bin/env nix-shell #! nix-shell -p python.withPackages(ps:[ps.keyring]) ~/nixpkgs -i sh
is fine
The text was updated successfully, but these errors were encountered:
That's it, we finally have conclusive proof that it was a bad idea for Nix to not use commas in its list syntax 😜
Sorry, something went wrong.
This seems like the now closed #627, is this a regression or does the distinction between single and double quotes matter?
The problem is actually 'ps:with', which gets parsed as a URL. Try putting a space in between
nix-shell -p 'python.withPackages (ps: with ps; [secretstorage keyring ])'
No branches or pull requests
This is really annoying, for instance this won't work
You get a
syntax error, unexpected $undefined, at (string):1:94
If you remove spaces on the 2nd line (works only if you have 1 package) than it works
is fine
The text was updated successfully, but these errors were encountered: