Nixpkgs: Difference between revisions

imported>Bobvanderlinden
m updated link to editor mode page
imported>Asymmetric
Added more info about nixos-unstable (insipred by https://gist.github.com/grahamc/c60578c6e6928043d29a427361634df6)
Line 3: Line 3:
== Channels ==
== Channels ==


The packages and modules hosted on Nixpkgs are sorted in various channels intended for various use-cases, and in practice are differentiated by the level of testing updates must pass on the official [https://nixos.org/hydra/manual/#idm140737315980672 nixos.org hydra instance] and the number of updates propagated to the channel. For [[Nix]] users, <code>nixpkgs-unstable</code> is the bleeding-edge, where packages pass only basic build tests and are upgraded continuously; for [[NixOS]] users, <code>nixos-unstable</code> is the bleeding-edge, where packages pass build tests and integration tests on a VM. Both [[Nix]] and [[NixOS]] users can use stable channels - the latest being <code>nixos-17.09</code> - to receive only conservative updates for fixing critical bugs and security vulnerabilities.  
The packages and modules hosted on Nixpkgs are sorted in various channels intended for various use-cases, and in practice are differentiated by the level of testing updates must pass on the official [https://nixos.org/hydra/manual/#idm140737315980672 nixos.org hydra instance] and the number of updates propagated to the channel.
 
For [[Nix]] users, <code>nixpkgs-unstable</code> is the bleeding-edge, where packages pass only basic build tests and are upgraded continuously.
 
For [[NixOS]] users, <code>nixos-unstable</code> is the bleeding-edge, where packages pass build tests and integration tests on a VM, and are tested from the perspective of being an operative system (this means things like the X server, KDE, various servers, and lower level details like installing bootloaders and runnning the nixos installation steps are also tested).
 
Both [[Nix]] and [[NixOS]] users can use stable channels - the latest being <code>nixos-17.09</code> - to receive only conservative updates for fixing critical bugs and security vulnerabilities.  


For more information on channels and how to select the appropriate channel for your purposes, see the [[Nix Channels]] article.
For more information on channels and how to select the appropriate channel for your purposes, see the [[Nix Channels]] article.