nix-channelmanage Nix channelsnix-channelurlurlDescriptionA Nix channel is mechanism that allows you to automatically stay
up-to-date with a set of pre-built Nix expressions. A Nix channel is
just a URL that points to a place that contains a set of Nix
expressions, as well as a nix-push manifest. See
also .This command has the following operations:
urlAdds url to the list of
subscribed channels.urlRemoves url from the
list of subscribed channels.Prints the URLs of all subscribed channels on
standard output.Downloads the Nix expressions of all subscribed
channels, makes the conjunction of these the default for
nix-env operations (by calling nix-env
-I), and performs a nix-pull on the
manifests of all channels to make pre-built binaries
available.Note that and
do not automatically perform an update.The list of subscribed channels is stored in
~/.nix-channels.A channel consists of two elements: a bzipped Tar archive
containing the Nix expressions, and a manifest created by
nix-push. These must be stored under
url/nixexprs.tar.bz2 and
url/MANIFEST,
respectively.