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 name: import ./overlays/${name}.nix
); );
checks.x86_64-linux = genAttrs (map nameOf (listFilesRecursive ./tests)) ( checks = forAllSystems (
name: import ./tests/${name}.nix { pkgs:
inherit self; genAttrs (map nameOf (listFilesRecursive ./tests)) (
pkgs = nixpkgs.legacyPackages.x86_64-linux; name:
import ./tests/${name}.nix {
inherit self pkgs;
} }
)
); );
nixosConfigurations = { nixosConfigurations = {