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:
Kaleb Olson 2024-07-31 21:44:27 -05:00 committed by Valentin Gagarin
parent 4d580d9540
commit f6c6c6203f

View File

@ -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