1
0
Fork 1
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:
aszlig 2014-02-16 22:12:42 +01:00
parent 084238c6ec
commit d16dae8d32
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -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"