diff --git a/checks/flake-module.nix b/checks/flake-module.nix index 16b528133..3fd509a42 100644 --- a/checks/flake-module.nix +++ b/checks/flake-module.nix @@ -11,7 +11,7 @@ # this gives us a reference to our flake but also all flake inputs inherit self; }; - nixosTests = { + nixosTests = lib.optionalAttrs (pkgs.stdenv.isLinux) { # import our test secrets = import ./secrets nixosTestArgs; }; diff --git a/flake.nix b/flake.nix index 43c85fa97..f03dd150c 100644 --- a/flake.nix +++ b/flake.nix @@ -25,6 +25,7 @@ systems = [ "x86_64-linux" "aarch64-linux" + "aarch64-darwin" ]; imports = [ ./checks/flake-module.nix diff --git a/pkgs/nix-unit/default.nix b/pkgs/nix-unit/default.nix index 0f8f0ed42..507ed5704 100644 --- a/pkgs/nix-unit/default.nix +++ b/pkgs/nix-unit/default.nix @@ -4,7 +4,6 @@ , fetchFromGitHub , nlohmann_json , boost -, bear , meson , pkg-config , ninja @@ -27,13 +26,12 @@ stdenv.mkDerivation { boost ]; nativeBuildInputs = [ - bear meson pkg-config ninja # nlohmann_json can be only discovered via cmake files cmake - ] ++ (lib.optional stdenv.cc.isClang [ bear clang-tools ]); + ] ++ (lib.optional stdenv.cc.isClang [ clang-tools ]); meta = { description = "Nix unit test runner";