Fix tests

This commit is contained in:
Yegor Timoshenko
2018-07-17 15:27:07 +03:00
parent 585a13d8b9
commit 043605cfec
4 changed files with 47 additions and 33 deletions

View File

@@ -1,15 +0,0 @@
{
imports = [ <nixos-hardware-profile> ];
boot.loader.systemd-boot.enable = true;
fileSystems."/" = {
device = "/dev/disk/by-uuid/00000000-0000-0000-0000-000000000000";
fsType = "btrfs";
};
nixpkgs.config = {
allowBroken = true;
allowUnfree = true;
};
}

View File

@@ -1,16 +0,0 @@
#!/bin/sh
set -e
cd "$(dirname "$0")/.."
for profile in $(find . -name default.nix); do
echo evaluating $profile >&2
nix-build '<nixpkgs/nixos>' \
-I nixos-config=tests/eval.nix \
-I nixos-hardware-profile=$profile \
-A system \
--dry-run \
--show-trace
done