aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-08-22 14:55:04 +0200
committerGitHub <noreply@github.com>2022-08-22 14:55:04 +0200
commit590660c1c6cb664df8a89053f4d8b069933c6189 (patch)
tree2d1a017cf3d8c4903483f47928fb75533f798165
parent9ddef9f0be811277c76c1c2bd126cac7de4eaa35 (diff)
parent7d800909e94c482a2093bc95a2f3dca565c148b2 (diff)
Merge pull request #6932 from jack1142/patch-1
Fix default profile path for root in nix profile documentation
-rw-r--r--src/nix/profile.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/profile.md b/src/nix/profile.md
index 8dade051d..be3c5ba1a 100644
--- a/src/nix/profile.md
+++ b/src/nix/profile.md
@@ -11,7 +11,7 @@ them to be rolled back easily.
The default profile used by `nix profile` is `$HOME/.nix-profile`,
which, if it does not exist, is created as a symlink to
-`/nix/var/nix/profiles/per-user/default` if Nix is invoked by the
+`/nix/var/nix/profiles/default` if Nix is invoked by the
`root` user, or `/nix/var/nix/profiles/per-user/`*username* otherwise.
You can specify another profile location using `--profile` *path*.