Nixpkgs: Difference between revisions

imported>Nix
m remove section accidentally added to wrong page
adapt wording to more distinctive terminology
Line 8: Line 8:
{{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1}}
{{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1}}


== Channels ==
== Releases ==


{{main|Nix Channels}}
{{main|Channel branches}}


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.
The packages and modules hosted on Nixpkgs are distributed through various [[channel branches]] intended for particular use-cases. In practice they 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 they receive.


For [[Nix]] users, <code>nixpkgs-unstable</code> is the bleeding-edge, where packages pass only basic build tests and are upgraded continuously.
For standalone [[Nix]] users, <code>nixpkgs-unstable</code> channel branch is the rolling release, 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).
For [[NixOS]] users, <code>nixos-unstable</code> channel branch is the rolling release, 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 {{nixos:latest}} - to receive only conservative updates for fixing critical bugs and security vulnerabilities.
Both [[Nix]] and [[NixOS]] users can use stable channel branches - the latest being {{nixos:latest}} - 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.


== Alternatives ==
== Alternatives ==


Due to the fact that nixpkgs is ''only'' a nix expression it is possible to extend or replace the logic with your own sources.
Due to the fact that Nixpkgs is ''only'' a Nix expression, it is possible to extend or replace the logic with your own sources.
In fact, there are a number of extensions as well as complete replacements for '''Nixpkgs''', see the [[Alternative Package Sets]] article.
In fact, there are a number of extensions as well as complete replacements for Nixpkgs, see the [[Alternative Package Sets]] article.


[[Category:Pedias]]
[[Category:Pedias]]