FAQ/Pinning Nixpkgs: Difference between revisions

imported>Milahu
add note: still need a nix-channel for nixos
imported>Legendofmiracles
m Add note about https://lazamar.co.uk/nix-versions/
Line 3: Line 3:
separately on their own terms, and to ensure their deployability is
separately on their own terms, and to ensure their deployability is
not impacted by other systems' requirements.
not impacted by other systems' requirements.
Another reason why one would want to pin nixpkgs is to get older versions of a specific software. [https://lazamar.co.uk/nix-versions/ This site] can show you all the versions a package went through, and what nixpkgs revision to use to get your specific version.


Note: You can <code>sudo nix-channel --remove nixpkgs</code>, but you still need a nix-channel for nixos
Note: You can <code>sudo nix-channel --remove nixpkgs</code>, but you still need a nix-channel for nixos