mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
vm/windows: Use &&, not set -e in runAndSuspend.
We now have proper quoting, so we no longer need the workaround using "set -e". Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
084238c6ec
commit
d16dae8d32
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue