Merge pull request 'drop bear from buildinputs of nix-unit' (#370) from Mic92-main into main
All checks were successful
assets1 / test (push) Successful in 6s
checks-impure / test (push) Successful in 8s
checks / test (push) Successful in 25s

This commit is contained in:
clan-bot 2023-09-28 14:03:46 +00:00
commit 6e8e12df6d
3 changed files with 3 additions and 4 deletions

View File

@ -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;
};

View File

@ -25,6 +25,7 @@
systems = [
"x86_64-linux"
"aarch64-linux"
"aarch64-darwin"
];
imports = [
./checks/flake-module.nix

View File

@ -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";