nix-scripts/artiq-fast/windows
adisbladis 6bbbd41ece Remove anaconda bundle
This one will be installed in a separate step incrementally
2020-06-17 16:58:53 +02:00
..
bundle windows: Fix build termination 2020-06-17 16:58:53 +02:00
nuget windows: Fix SSH key setup 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 Remove declarative SSH keys 2020-06-17 16:58:53 +02:00
build.nix Switch impure mode to parameter 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: Adapt tests to new build infra 2020-06-17 16:58:53 +02:00
redhat-cert.cer windows: Add automated declarative windows install 2020-06-17 16:58:51 +02:00
run-test.nix windows: Fix stupid quoting issues in autounattend XML 2020-06-17 16:58:53 +02:00
win.nix Remove anaconda bundle 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.