toml11: only build tests when they're enabled
This commit is contained in:
@@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
cmake
|
||||
];
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "TOML11_BUILD_TOML_TESTS" true)
|
||||
(lib.cmakeBool "TOML11_BUILD_TOML_TESTS" finalAttrs.finalPackage.doCheck)
|
||||
];
|
||||
doCheck = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user