forked from lix-project/nixos-module
nix flake check should work on mac probably
This commit is contained in:
parent
1d636fd90a
commit
cf119933da
10
flake.nix
10
flake.nix
|
@ -19,6 +19,13 @@
|
|||
inherit system;
|
||||
overlays = [ self.overlays.default ];
|
||||
};
|
||||
|
||||
linux64BitSystems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
|
||||
inherit (pkgs) lib;
|
||||
in
|
||||
{
|
||||
inherit pkgs;
|
||||
|
@ -32,8 +39,9 @@
|
|||
nixosTests = pkgs.recurseIntoAttrs (pkgs.callPackage ./test-nixos.nix { lix-module = self.nixosModules.default; });
|
||||
|
||||
checks = {
|
||||
inherit (self.nixosTests.${system}) it-builds;
|
||||
inherit (self.packages.${system}) default nix-eval-jobs;
|
||||
} // lib.optionalAttrs (lib.elem system linux64BitSystems) {
|
||||
inherit (self.nixosTests.${system}) it-builds;
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue