File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
doc/manual/source/command-ref Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 88
99# Description
1010
11+ > ** Warning**
12+ >
13+ > nix-channel is deprecated in favor of flakes in Determinate Nix.
14+ > For a guide on Nix flakes, see: < https://zero-to-nix.com/ > .
15+ > For details and to offer feedback on the deprecation process, see: < https://github.com/DeterminateSystems/nix-src/issues/34 > .
16+
1117Channels are a mechanism for referencing remote Nix expressions and conveniently retrieving their latest version.
1218
1319The moving parts of channels are:
Original file line number Diff line number Diff line change @@ -164,6 +164,11 @@ static void update(const StringSet & channelNames)
164164
165165static int main_nix_channel (int argc, char ** argv)
166166{
167+ warn (
168+ " nix-channel is deprecated in favor of flakes in Determinate Nix. \
169+ For a guide on Nix flakes, see: https://zero-to-nix.com/. \
170+ For details and to offer feedback on the deprecation process, see: https://github.com/DeterminateSystems/nix-src/issues/34." );
171+
167172 {
168173 // Figure out the name of the `.nix-channels' file to use
169174 auto home = getHome ();
You can’t perform that action at this time.
0 commit comments