Fix nix installation check

This commit is contained in:
Manuel Thalmann 2024-08-01 18:05:10 +02:00
parent 34e2f9ce8e
commit cce14d35ba

View file

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