-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
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
Add user channels to the default nix path #38351
Conversation
@GrahamcOfBorg test openssh |
Failure on x86_64-linux (full log) Attempted: tests.openssh Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: tests.login Partial log (click to expand)
|
Failure on x86_64-linux (full log) Attempted: tests.env Partial log (click to expand)
|
The two tests which failed seem due to the hosts not running 2.0. I'll look in to that. In the meantime, this patch works for me and the tests pass locally. |
I would probably switch the new line with the first line, because I think (1) per-user NIX_PATH elements should be given preference in comparison to (system-wide) root's elements, and (2) the root's elements should be "together". |
Agreed, updated. |
Failure on aarch64-linux (full log) Attempted: tests.login Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: tests.env Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: tests.openssh Partial log (click to expand)
|
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.
Yes, I think so, including cherry-pick to 18.03.
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.
🚢
I'm slightly scared of being very hasty with such changes. @edolstra: can you confirm this wasn't some intentional design decision? Apparently |
Well, this change doesn't make |
Update: Choosing not to backport this for now. |
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.
I like it. I agree it shouldn't be backported though — and this means it should go in the 18.09 release notes, not the 18.03 ones, right?
Motivation for this change
See NixOS/nix#2033
I'll backport upon merge.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)