Fix nix
installation check
This commit is contained in:
parent
9324e3074f
commit
cc77eaf05c
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue