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
nix shell
PATH
Describe the bug
nix shell does not insert PATH items in command line order. Instead, it traverses them left to right prepending each, resulting in a reversal.
Steps To Reproduce
Apologies for the whacky example.
nix shell .#hello .#salve-mundi
hello
It invokes the latter package, printing SALVE MUNDI
SALVE MUNDI
Expected behavior
Prepend them to the existing PATH but in the same order as specified on the command line.
nix-env --version output
nix-env --version
master 92611e6
master
Additional context
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered:
I took a stab at this in #9648.
Sorry, something went wrong.
roberth
Successfully merging a pull request may close this issue.
Describe the bug
nix shell
does not insertPATH
items in command line order. Instead, it traverses them left to right prepending each, resulting in a reversal.Steps To Reproduce
Apologies for the whacky example.
nix shell .#hello .#salve-mundi
hello
It invokes the latter package, printing
SALVE MUNDI
Expected behavior
Prepend them to the existing
PATH
but in the same order as specified on the command line.nix-env --version
outputmaster
92611e6Additional context
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: