diff --git a/pkgs/build-support/vm/windows/default.nix b/pkgs/build-support/vm/windows/default.nix index 89acb9a2d68..36795fbb78e 100644 --- a/pkgs/build-support/vm/windows/default.nix +++ b/pkgs/build-support/vm/windows/default.nix @@ -17,8 +17,7 @@ let }); runAndSuspend = runInVM "winvm.img" { - command = lib.concatStringsSep "; " [ - "set -e" + command = lib.concatStringsSep " && " [ "net config server /autodisconnect:-1" "net use S: '\\\\192.168.0.2\\nixstore' /persistent:yes" "net use X: '\\\\192.168.0.2\\xchg' /persistent:yes"