Closed mweinelt closed 1 year ago
:+1: for the change
why nixos- and not nixpkgs-unstable?
good question CC @mweinelt !
The nixos-*
channels only cover aarch64- and x86_64-linux, but only gets bumped when the integration tests succeed, while nixpkgs-*
only covers packages, but waits for darwin packages to build.
@mweinelt then I guess it makes sense to use nixpkgs-*
, right? We probably want a set of packages that works on Darwin; aside from that Niv doesn't really care about nixos but does about nixpkgs, wdyt?
It really depends on the user and what they care about. NixOS users will want to use the nixos-*
channels for its tested guarantee. Darwin users should rely on nixpkgs-*
, since the nixos-*
branches advances without consideration for darwin.
For security reasons niv should not initialize with a potentially outdated nixpkgs, that won't receive updates when even when the user calls
niv update
.Case in point: https://github.com/NixOS/nixpkgs/issues/227804#issuecomment-1519187006