Skip to main content

Channels

ChannelsLes arechannels thesont mainles repositoriesrepos of packages/derivations onde Nix. AUn channel isc'est justsimplement aune URL thatqui pointspointe tovers aun placeendroit thatayant hasplein manyd'expressions Nix expressionset andun amanifeste. manifest. The most popular (and actually probably the onlyLes channels anyoneles use)plus arepopulaires (et probablement les seuls à vraiment être utilisé) sont ceux de nixpkgs channels (for instance nixpkgs unstable oret nixpkgs 23.05. par exemple)

We'llGlobalement digNixpkgs deeperest inun nixpkgsrepo git dont chaque branche est un channel. On "s'abonne" à un channel et à chaque fois que l'on veut télécharger un paquet, on itselfva becaused'abord it'sessayer reallyd'aller huge,chercher butsa fordérivation nowdans theses only thing you need to know is that it's a git repo where each branch is a channel.channels.

SoPlus intard aon nutshell,va youparler subscribe to a channel, then each time you'll try to download a package, you will be able to get it through that channel.

We'll also dive later in something calleddes flakes thatqui aresont seenun asmoyen decentralizedalternatif alternativesde toproposer channels.des paquets Nix de manière décentralisée (contrairement aux channels).