nix-scripts/artiq/windows/README.md

26 lines
453 B
Markdown
Raw Normal View History

# Preparation steps
## Install a Windows image
2019-04-08 08:32:24 +08:00
```shell
2019-04-20 07:18:06 +08:00
nix-build install.nix -I artiqSrc=…/artiq
result/bin/windows-installer.sh
2019-04-08 08:32:24 +08:00
```
Follow the instructions.
2019-04-08 23:41:05 +08:00
## Install Anaconda to the image
```shell
result/bin/anaconda-installer.sh
```
2019-04-08 23:41:05 +08:00
Move the image `c.img` to one of Nix' `extra-sandbox-paths` (`nix.sandboxPaths` on NixOS).
# Running the tests manually
2019-04-08 23:41:05 +08:00
```shell
nix-build --pure --arg diskImage "\"…/c.img\"" -I artiqSrc=…/artiq
2019-04-08 23:41:05 +08:00
```