diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-08-22 14:55:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-22 14:55:04 +0200 |
commit | 590660c1c6cb664df8a89053f4d8b069933c6189 (patch) | |
tree | 2d1a017cf3d8c4903483f47928fb75533f798165 | |
parent | 9ddef9f0be811277c76c1c2bd126cac7de4eaa35 (diff) | |
parent | 7d800909e94c482a2093bc95a2f3dca565c148b2 (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.md | 2 |
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*. |