diff options
author | Doron Behar <doron.behar@gmail.com> | 2020-11-13 10:50:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-13 10:50:32 +0200 |
commit | 8769c817f4f0af85f0ee1f166872ba7db9b2ed55 (patch) | |
tree | 476235d159c14584a937f224eed4d588ef39bd58 /nixos/doc | |
parent | 440c5808a18980909ca2eb349d4819d266967e49 (diff) | |
parent | be0555b8a84b6c3813e58492f232a3714b891424 (diff) |
Merge pull request #75615 from FSMaxB/patch-1
Add note about installing NixOS from distributions with /usr/sbin and…
Diffstat (limited to 'nixos/doc')
-rw-r--r-- | nixos/doc/manual/installation/installing-from-other-distro.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/doc/manual/installation/installing-from-other-distro.xml b/nixos/doc/manual/installation/installing-from-other-distro.xml index f10a7d658879..43f69b923d14 100644 --- a/nixos/doc/manual/installation/installing-from-other-distro.xml +++ b/nixos/doc/manual/installation/installing-from-other-distro.xml @@ -161,6 +161,13 @@ nixpkgs https://nixos.org/channels/nixpkgs-unstable</screen> existing systems without the help of a rescue USB drive or similar. </para> </warning> + <note> + <para> + On some distributions there are separate PATHS for programs intended only for root. + In order for the installation to succeed, you might have to use <literal>PATH="$PATH:/usr/sbin:/sbin"</literal> + in the following command. + </para> + </note> <screen><prompt>$ </prompt>sudo PATH="$PATH" NIX_PATH="$NIX_PATH" `which nixos-install` --root /mnt</screen> <para> Again, please refer to the <literal>nixos-install</literal> step in |