Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 440c5808a189
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8769c817f4f0
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 13, 2020

  1. nixos/doc: Add note about /usr/sbin and /sbin

    An installation from Debian buster may fail without adding /usr/sbin to
    $PATH because chroot is not in the PATH of a non-root user.
    FSMaxB authored and doronbehar committed Nov 13, 2020
    Copy the full SHA
    be0555b View commit details
  2. Merge pull request #75615 from FSMaxB/patch-1

    Add note about installing NixOS from distributions with /usr/sbin and…
    doronbehar authored Nov 13, 2020
    Copy the full SHA
    8769c81 View commit details
Showing with 7 additions and 0 deletions.
  1. +7 −0 nixos/doc/manual/installation/installing-from-other-distro.xml
Original file line number Diff line number Diff line change
@@ -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