Merge pull request 'drop bear from buildinputs of nix-unit' (#370) from Mic92-main into main
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
"aarch64-darwin"
|
||||
];
|
||||
imports = [
|
||||
./checks/flake-module.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";
|
||||
|
||||
Reference in New Issue
Block a user