You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The
nixpkgs
entry right now isgithub:NixOS/nixpkgs
. This means that a reference to thenixpkgs
flake will default to themaster
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 asnixpkgs/master
. And similarly, other branches likenixpkgs/nixos-21.11
will still work as they do today.The text was updated successfully, but these errors were encountered: