Set literal NIX_PATH in 'other distro' docs
Setting `NIX_PATH="$NIX_PATH"` doesn't work in this context. As of NixOS/nix@ec9dd9a , nix is no longer setting NIX_PATH on non-nixOS distros.
This commit is contained in:
parent
4d580d9540
commit
f6c6c6203f
@ -125,7 +125,7 @@ The first steps to all these are the same:
|
||||
:::
|
||||
|
||||
```ShellSession
|
||||
$ sudo PATH="$PATH" NIX_PATH="$NIX_PATH" `which nixos-install` --root /mnt
|
||||
$ sudo PATH="$PATH" NIX_PATH="$HOME/.nix-defexpr/channels" `which nixos-install` --root /mnt
|
||||
```
|
||||
|
||||
Again, please refer to the `nixos-install` step in
|
||||
|
Loading…
Reference in New Issue
Block a user