nix
nix copied to clipboard
Add an installer test
This is loosely based on the Nix installer matrix (https://github.com/grahamc/nix-install-matrix), but it runs inside a Nix build using QEMU rather than outside of it using Vagrant. It also doesn't rely on import-from-derivation, unlike the old installer test that ran inside a declaratively built RedHat/Debian image.
Usage:
# nix build .#hydraJobs.installerTests.ubuntu-14-04.install-default
Hydra jobset for testing: https://hydra.nixos.org/jobset/nix/installer-test
This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/nix-installer-workgroup/21495/13