diff --git a/doc/manual/command-ref/nix-channel.xml b/doc/manual/command-ref/nix-channel.xml index c4cc04ce24d..195b209f952 100644 --- a/doc/manual/command-ref/nix-channel.xml +++ b/doc/manual/command-ref/nix-channel.xml @@ -136,7 +136,7 @@ $ nix-instantiate --eval -E '(import <nixpkgs> {}).lib.nixpkgsVersion' - /nix/var/nix/profiles/username/channels + /nix/var/nix/profiles/per-user/username/channels nix-channel uses a nix-env profile to keep track of previous @@ -151,7 +151,7 @@ $ nix-instantiate --eval -E '(import <nixpkgs> {}).lib.nixpkgsVersion' ~/.nix-defexpr/channels This is a symlink to - /nix/var/nix/profiles/username/channels. It + /nix/var/nix/profiles/per-user/username/channels. It ensures that nix-env can find your channels. In a multi-user installation, you may also have ~/.nix-defexpr/channels_root, which links to