andir / npins

Nix dependency pinning. Very similar to Niv but has a few features that I personally wanted.
European Union Public License 1.2
164 stars 12 forks source link

Is adding a `nixos` source a common usage action? #55

Closed bzm3r closed 7 months ago

bzm3r commented 7 months ago

Under Adding Dependencies the README gives as an example:

npins add channel nixos-21.11

But under what situations would one to add nixos-*? NixOS tests?

After all, nixos-* doesn't contain nixpkgs-* (which is what is required to set up NixOS)?

So is this actually good example for this section, or would it be better to have

npins add channel nixpkgs-21.11
piegamesde commented 7 months ago

NixOS modules are part of Nixpkgs, and thus the nixos channels contain all you need. The only difference is in the test set which gets run on them. https://nixos.wiki/wiki/Nix_channels