Fix nix installation check

This commit is contained in:
Manuel Thalmann 2024-08-01 18:05:10 +02:00
parent 4807c6f8e8
commit fa67e12fa3

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 {