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
nixpkgs: setup self-referential symlink #39682
Conversation
This allows to, for example, use fork of nixpkgs as a nix-channel: $ sudo nix-channel --add https://github.com/serokell/nixpkgs nixos $ sudo nix-channel --update $ sudo nixos-rebuild switch Currently this results in the following error: warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs' does not exist, ignoring error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
1f3d639
to
b7858be
Compare
Seems to evaluate :-) |
Would like to go ahead and merge this unless there are objections. |
So, would it be possible to get The main concern is just the hackiness of this. Right now I think you can just add a separate channel for nixpkgs:
(of course then you have two channels that need to updated) |
I think current
One proposed in this pull request :-) Kidding. I think changing |
#40016 would be an alternative resolution of the issue. |
Going to close this in favor of #40016, will reopen if there are any issues with that. |
This allows to use fork of nixpkgs as a nix-channel:
Currently this results in the following error: