2019-04-08 08:32:24 +08:00
|
|
|
# Preparing a Windows image
|
|
|
|
|
|
|
|
```shell
|
|
|
|
nix-build install.nix
|
|
|
|
result/bin/networked-installer.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
Follow the instructions.
|
2019-04-08 23:41:05 +08:00
|
|
|
|
|
|
|
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).
|
|
|
|
|
|
|
|
|
2019-04-18 21:54:06 +08:00
|
|
|
# Running the tests manually
|
2019-04-08 23:41:05 +08:00
|
|
|
|
|
|
|
```shell
|
2019-04-18 21:54:06 +08:00
|
|
|
nix-build --pure --arg diskImage "\"…/c.img\"" -I artiqSrc=…/artiq
|
2019-04-08 23:41:05 +08:00
|
|
|
```
|