mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-15 14:16:39 +02: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
11
flake.nix
11
flake.nix
@ -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 = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user