4 ms·
> Channels are, AFAIU, a reference to some point-in-time/commit/version of nixpkgs It's not specifically nixpkgs, but any Nix code generally. Per the Nix manu
by rgoulter 3y ago
> Channels are, AFAIU, a reference to some point-in-time/commit/version of nixpkgs
It's not specifically nixpkgs, but any Nix code generally.
Per the Nix manual[0]:
> Channels are a mechanism for referencing remote Nix expressions and conveniently retrieving their latest version.
e.g. home-manager's suggested channel is just the github tarball for the relevant branch[1]:
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
[0] https://nixos.org/manual/nix/stable/command-ref/nix-channel https://nixos.org/manual/nix/stable/command-ref/nix-channel
[1] https://nix-community.github.io/home-manager/index.html#sec-install-standalone https://nix-community.github.io/home-manager/index.html#sec-...
- nurple 3y agoGreat clarification, and just to relate flakes: a flake input is like a package-local channel instead of being system-wide.