Merge pull request #223705 from erdnaxe/libcbor-strictdeps

libcbor: enable strictDeps
This commit is contained in:
Sergei Trofimovich
2023-04-08 08:25:25 +01:00
committed by GitHub
@@ -22,8 +22,13 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-ZTa+wG1g9KsVoqJG/yqxo2fJ7OhPnaI9QcfOmpOT3pg=";
};
strictDeps = true;
nativeBuildInputs = [ cmake ];
buildInputs = [
cmocka # cmake expects cmocka module
];
cmakeFlags = lib.optional finalAttrs.doCheck "-DWITH_TESTS=ON"
++ lib.optional (!stdenv.hostPlatform.isStatic) "-DBUILD_SHARED_LIBS=ON";