flake: use checks for all systems

This seems to work now, possibly fixed by using the latest Nix version.
This commit is contained in:
Donovan Glover 2024-10-11 14:39:00 -04:00
parent 14acf89052
commit c9652f1680
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -65,11 +65,14 @@
name: import ./overlays/${name}.nix
);
checks.x86_64-linux = genAttrs (map nameOf (listFilesRecursive ./tests)) (
name: import ./tests/${name}.nix {
inherit self;
pkgs = nixpkgs.legacyPackages.x86_64-linux;
}
checks = forAllSystems (
pkgs:
genAttrs (map nameOf (listFilesRecursive ./tests)) (
name:
import ./tests/${name}.nix {
inherit self pkgs;
}
)
);
nixosConfigurations = {