Fix nix
installation check
This commit is contained in:
parent
9a42fba7f7
commit
466813fe39
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue