nix-scripts/artiq-fast/windows
Astro f9d5fd0520 windows: disable kvm
testing under kvm...
2020-06-17 16:58:53 +02:00
..
bundle windows: Fix build termination 2020-06-17 16:58:53 +02:00
openssh windows: Dont use deprecated method of openssh server installation 2020-06-17 16:58:53 +02:00
README.md Document pure/impure mode 2020-06-17 16:58:53 +02:00
autounattend.nix Add support for incremental install of packages 2020-06-17 16:58:53 +02:00
build.nix Add support for incremental install of packages 2020-06-17 16:58:53 +02:00
default.nix windows: Add automated declarative windows install 2020-06-17 16:58:51 +02:00
install.nix windows: Add automated declarative windows install 2020-06-17 16:58:51 +02:00
manual-test-run.nix windows: Adapt tests to new build infra 2020-06-17 16:58:53 +02:00
pkgs.nix windows: Add automated declarative windows install 2020-06-17 16:58:51 +02:00
qemu.nix windows: disable kvm 2020-06-17 16:58:53 +02:00
run-test.nix windows: Fix stupid quoting issues in autounattend XML 2020-06-17 16:58:53 +02:00
win.nix windows: disable kvm 2020-06-17 16:58:53 +02:00

README.md

Preparation steps

Install a Windows image

  1. Adjust build.nix accordingly
  2. Run:

If in impure mode

nix-build build.nix
./result

Results in a file called c.img

If in pure mode

nix-build build.nix
ls -la ./result

Results in a symlink to the image in the nix store

Impure/pure mode

Sometimes it can be useful to build the image outside of the Nix sandbox for debugging purposes.

For this purpose we have an attribute called impureMode which outputs the shell script used by Nix inside the sandbox to build the image.