nix-scripts/artiq/windows
2019-04-18 14:51:18 +08:00
..
default.nix windows: fix nix escaping and conda env name 2019-04-18 14:51:18 +08:00
install.nix windows tests: produce a test script to embed into main.nix 2019-04-18 14:50:07 +08:00
install.txt windows tests: move install.txt into separate file 2019-04-18 14:50:07 +08:00
qemu.nix windows tests: produce a test script to embed into main.nix 2019-04-18 14:50:07 +08:00
README.md add windows image test runner 2019-04-18 14:50:07 +08:00

Preparing a Windows image

nix-build install.nix
result/bin/networked-installer.sh

Follow the instructions.

Then press return to automatically complete the installation via SSH. The virtual machine will be shut down when the process is complete.

Move the image c.img to one of Nix' extra-sandbox-paths (nix.sandboxPaths on NixOS).

Running the tests

nix-build --arg diskImage "\"…/c.img\""