Fix nix installation check

This commit is contained in:
Manuel Thalmann 2024-08-01 18:05:10 +02:00
parent 9a42fba7f7
commit 466813fe39

View file

@ -69,7 +69,7 @@ function Start-InstallationLoop {
wsl --shutdown;
}
if (& { wsl command -q nix; $?; }) {
if (wsl --shell-type login type -t nix) {
Set-Stage ([SetupStage]::Configure);
}
} else {