about summary refs log tree commit diff
path: root/nixos/tests/run-in-machine.nix
Commit message (Collapse)AuthorAge
* nixos: Fix output path generation of runInMachineaszlig2017-10-11
| | | | | | | | | | | | | | | | | | Regression introduced by a02bb00156086b45e68c1112008db506734f8649. The fix is done by disabling writableStore, because the latter will set up an overlayfs on the Nix store within the VM, which in turn will discard all the outputs of the resulting output path. However in runInMachine we actually *want* the contents of the generated path and also don't want a writable store within the VM (except of course for $out, which is writable anyway). I've added a small regression test to verifify the output in nixos/tests/run-in-machine.nix to make sure this won't break again in the future. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Fix tests.runInMachine evaluationEelco Dolstra2014-11-04
|
* Make it easier to run the testsEelco Dolstra2014-04-14
| | | | | | | | | | | You can now run a test in the nixos/tests directory directly using nix-build, e.g. $ nix-build '<nixos/tests/login.nix>' -A test This gets rid of having to add the test to nixos/tests/default.nix. (Of course, you still need to add it to nixos/release.nix if you want Hydra to run the test.)
* Fix runInMachineEelco Dolstra2013-10-16
| | | | | | | | It requires a writable /nix/store to store the build result. Also, wait until we've reached multi-user.target before doing the build, and do a sync at the end to ensure all data to $out is properly written. http://hydra.nixos.org/build/6496716
* Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra2013-10-10