Skip to content
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 entry should default to nixpkgs-unstable ref #16

Closed
lilyball opened this issue Nov 30, 2021 · 1 comment · Fixed by #17
Closed

nixpkgs entry should default to nixpkgs-unstable ref #16

lilyball opened this issue Nov 30, 2021 · 1 comment · Fixed by #17

Comments

@lilyball
Copy link
Member

The nixpkgs entry right now is github:NixOS/nixpkgs. This means that a reference to the nixpkgs flake will default to the master branch, meaning anyone who uses this may get packages that haven't yet been built by hydra. This is surprising and something of a footgun.

The registry should instead set it to github:NixOS/nixpkgs/nixpkgs-unstable. This mirrors the default <nixpkgs> channel set up by the Nix installer. Anyone who wants the master branch can reference it as nixpkgs/master. And similarly, other branches like nixpkgs/nixos-21.11 will still work as they do today.

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/future-of-channels-and-channels-nixos-org-in-a-flakes-world/11563/10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants