mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-08-16 20:00:36 +03:00
Merge pull request #135 from numtide/non-nixos-quirk
add workaround when running in non-nixos environments
This commit is contained in:
commit
ff8fbfb657
@ -380,6 +380,9 @@ fi
|
||||
step Installing NixOS
|
||||
ssh_ <<SSH
|
||||
set -efu ${enable_debug}
|
||||
# when running not in nixos we might miss this directory, but it's needed in the nixos chroot during installation
|
||||
export PATH=\$PATH:/run/current-system/sw/bin
|
||||
|
||||
# needed for installation if initrd-secrets are used
|
||||
mkdir -p /mnt/tmp
|
||||
chmod 777 /mnt/tmp
|
||||
|
Loading…
Reference in New Issue
Block a user