nixpkgs-suyu/pkgs/build-support/vm/windows
aszlig b01c9624cf
vm/windows: Add new runInWindowsVM function.
This function is quite similar to runInLinuxVM, but also ensures that
the builder is run decoupled of the Nix store and using the userland
inside the VM.

We're now picking up the environment variables saved in the previous
commit.

The reason we suppress all errors from the source operation is that it
would emit a ton of errors because we're trying to set read-only
variables.

Also, detecting whether the origBuilder is using the default builder
from the stdenv is currently a bit of a workaround until we have a
specialized pseudo-cross-stdenv someday in the future[TM].

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-02-26 04:52:00 +01:00
..
controller vm/windows: Save envirenoment before running VM. 2014-02-26 04:52:00 +01:00
cygwin-iso vm/windows: Update sha256 of Cygwin's setup.ini. 2014-02-26 04:50:55 +01:00
install vm/windows: Don't init /nix/store on install. 2014-02-26 04:51:57 +01:00
default.nix vm/windows: Add new runInWindowsVM function. 2014-02-26 04:52:00 +01:00