diff options
author | Victor Engmark <vengmark@linz.govt.nz> | 2023-05-15 10:13:46 +1200 |
---|---|---|
committer | Victor Engmark <vengmark@linz.govt.nz> | 2023-05-15 10:13:46 +1200 |
commit | 3cc9b8630b5651372533f0e11324ba565a2c98a1 (patch) | |
tree | 93308396fa1ba84bdc936ff8448e72c28131b594 /doc/manual/src/installation | |
parent | ccf512f4b865461b6957893dfc21a3f08a1f0cdb (diff) |
docs: Remove Nix profile content from correct directory
At least on Ubuntu 22.04, the Nix installer creates
`/etc/profile.d/nix.sh`, not `/etc/profile/nix.sh`.
Diffstat (limited to 'doc/manual/src/installation')
-rw-r--r-- | doc/manual/src/installation/uninstall.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/src/installation/uninstall.md b/doc/manual/src/installation/uninstall.md index 2f84a02bb..870d6bed7 100644 --- a/doc/manual/src/installation/uninstall.md +++ b/doc/manual/src/installation/uninstall.md @@ -34,7 +34,7 @@ If you are on Linux with systemd: Remove files created by Nix: ```console -sudo rm -rf /nix /etc/nix /etc/profile/nix.sh ~root/.nix-profile ~root/.nix-defexpr ~root/.nix-channels ~/.nix-profile ~/.nix-defexpr ~/.nix-channels +sudo rm -rf /nix /etc/nix /etc/profile.d/nix.sh ~root/.nix-profile ~root/.nix-defexpr ~root/.nix-channels ~/.nix-profile ~/.nix-defexpr ~/.nix-channels ``` Remove build users and their group: |