From cf119933da307bb1a6916d29e2c058cb4d9cd277 Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Fri, 3 May 2024 17:18:19 -0700 Subject: [PATCH] nix flake check should work on mac probably --- flake.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index a11df86..2bd2bb4 100644 --- a/flake.nix +++ b/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; }; }); }