Reboot WSL to pick up nix

This commit is contained in:
Manuel Thalmann 2024-08-01 16:25:18 +02:00
parent c7d19102cf
commit 73ca5018b2

View file

@ -66,6 +66,7 @@ function Start-InstallationLoop {
} else { } else {
ubuntu install --root; ubuntu install --root;
wsl -- sh `<`(curl -L https://nixos.org/nix/install`) --daemon --yes; wsl -- sh `<`(curl -L https://nixos.org/nix/install`) --daemon --yes;
wsl --shutdown;
} }
} else { } else {
$null = Import-Module PSWindowsUpdate; $null = Import-Module PSWindowsUpdate;