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
nixos/activation: fix activation script for non-POSIX shells (retry) #46042
Merged
xeji
merged 1 commit into
NixOS:master
from
Ma27:fix-nixos-rebuild-for-non-posix-compliant-shells
Sep 5, 2018
Merged
nixos/activation: fix activation script for non-POSIX shells (retry) #46042
xeji
merged 1 commit into
NixOS:master
from
Ma27:fix-nixos-rebuild-for-non-posix-compliant-shells
Sep 5, 2018
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This fixes an issue with shells like fish that are not fully POSIX compliant. The syntax `ENV=val cmd' doesn't work properly in there. This issue has been addressed in NixOS#45932 and NixOS#45945, however it has been recommended to use a single shell (`stdenv.shell' which is either `bash' or `sh') to significantly reduce the maintenance overload in the future. See NixOS#45897 (comment) Fixes NixOS#45897 /cc @FRidh @xaverdh @etu
etu
approved these changes
Sep 4, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works fine with fish shell as my user shell 👍
xeji
approved these changes
Sep 5, 2018
xeji
pushed a commit
that referenced
this pull request
Sep 5, 2018
This fixes an issue with shells like fish that are not fully POSIX compliant. The syntax `ENV=val cmd' doesn't work properly in there. This issue has been addressed in #45932 and #45945, however it has been recommended to use a single shell (`stdenv.shell' which is either `bash' or `sh') to significantly reduce the maintenance overload in the future. See #45897 (comment) Fixes #45897 /cc @FRidh @xaverdh @etu (cherry picked from commit df05618)
backport to 18.09: a015527 |
etu
added a commit
to etu/nixpkgs
that referenced
this pull request
Sep 18, 2018
…config This fixes NixOS#46750. This should also work with non-POSIX shells like in NixOS#46042.
9 tasks
xeji
pushed a commit
that referenced
this pull request
Sep 18, 2018
backported to 18.09: 4c4aff3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
This fixes an issue with shells like fish that are not fully POSIX
compliant. The syntax `ENV=val cmd' doesn't work properly in there.
This issue has been addressed in #45932 and #45945, however it has been
recommended to use a single shell (
stdenv.shell' which is either
bash' or `sh') to significantly reduce the maintenance overload in thefuture.
See #45897 (comment)
Fixes #45897
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)