mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
Fix tests
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user