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
nix-daemon: strip /nixpkgs from nixpkgs channel #40016
Conversation
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.
This is much better to me at least! Should verify it still works okay with https://nixos.org/channels/ though.
Works for me (with NixOS channel). |
I'm very hesitant about this. I'm pretty sure there was a reason for using the |
Maybe this commit (2cd7c1f) which actually creates the symlink in question has an explanation?
|
Locations that do have Locations that don't (currently broken for
This seems to be a safe change to me, because it only normalizes the first case. For this change to cause breakage, there should be a nixpkgs channel that has |
I agree with that analysis, this change seems safe. I'm guessing it used to be needed for pre-15.09 channels but those seem to be garbage-collected already so I can't check. |
Superseded by #40892. |
Sorry I missed this, but thanks for all the discussion! |
Alternative to #39682.