nix flake check should work on mac probably

This commit is contained in:
jade 2024-05-03 17:18:19 -07:00
parent 1d636fd90a
commit cf119933da

View file

@ -19,6 +19,13 @@
inherit system; inherit system;
overlays = [ self.overlays.default ]; overlays = [ self.overlays.default ];
}; };
linux64BitSystems = [
"x86_64-linux"
"aarch64-linux"
];
inherit (pkgs) lib;
in in
{ {
inherit pkgs; inherit pkgs;
@ -32,8 +39,9 @@
nixosTests = pkgs.recurseIntoAttrs (pkgs.callPackage ./test-nixos.nix { lix-module = self.nixosModules.default; }); nixosTests = pkgs.recurseIntoAttrs (pkgs.callPackage ./test-nixos.nix { lix-module = self.nixosModules.default; });
checks = { checks = {
inherit (self.nixosTests.${system}) it-builds;
inherit (self.packages.${system}) default nix-eval-jobs; inherit (self.packages.${system}) default nix-eval-jobs;
} // lib.optionalAttrs (lib.elem system linux64BitSystems) {
inherit (self.nixosTests.${system}) it-builds;
}; };
}); });
} }