From cfa859d79222d034a9fe493192150b80faae4ee8 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 16 Feb 2014 00:48:01 +0100 Subject: vm/windows: Don't init /nix/store on install. We're going to do this during the suspendedVM phase, so we're able to more easily change the shares without reinstalling the whole VM. Signed-off-by: aszlig --- pkgs/build-support/vm/windows/install/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'pkgs/build-support/vm') diff --git a/pkgs/build-support/vm/windows/install/default.nix b/pkgs/build-support/vm/windows/install/default.nix index d766cbcf8e3a..64177ea17137 100644 --- a/pkgs/build-support/vm/windows/install/default.nix +++ b/pkgs/build-support/vm/windows/install/default.nix @@ -12,11 +12,8 @@ let $(cat "${cygwinSshKey}/key.pub") PUBKEY ssh-host-config -y -c 'binmode ntsec' -w dummy - - net use S: '\\192.168.0.2\nixstore' - mkdir -p /nix/store - echo "/cygdrives/s /nix/store none bind 0 0" >> /etc/fstab - shutdown -s now + cygrunsrv -S sshd + shutdown -s 5 EOF ''; -- cgit 1.4.1