From bb8e3b5d86635b318de7e2d24503eba4990d042e Mon Sep 17 00:00:00 2001 From: Valentin Gagarin Date: Wed, 26 Apr 2023 13:57:42 +0200 Subject: [PATCH] update description on how profiles work adapt to the example listing --- doc/manual/src/command-ref/files/user-profiles.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/manual/src/command-ref/files/user-profiles.md b/doc/manual/src/command-ref/files/user-profiles.md index 9a9ec627b..6075bf125 100644 --- a/doc/manual/src/command-ref/files/user-profiles.md +++ b/doc/manual/src/command-ref/files/user-profiles.md @@ -34,10 +34,9 @@ To migrate back to `nix-env` you can delete your current profile: ## Filesystem layout -Profiles are versioned as follows. When using profile *path*, *path* -is a symlink to *path*`-`*N*, where *N* is the current *version* of -the profile. In turn, *path*`-`*N* is a symlink to a path in the Nix -store. For example: +Profiles are versioned as follows. When using a profile named *path*, *path* is a symlink to *path*`-`*N*`-link`, where *N* is the version of the profile. +In turn, *path*`-`*N*`-link` is a symlink to a path in the Nix store. +For example: ```console $ ls -l ~alice/.local/state/nix/profiles/profile*