mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 01:33:17 +01:00
flake: use checks for all systems
This seems to work now, possibly fixed by using the latest Nix version.
This commit is contained in:
parent
14acf89052
commit
c9652f1680
13
flake.nix
13
flake.nix
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user