libcbor: clean up rebuild avoidance

This commit is contained in:
Emily
2025-09-11 17:56:10 +01:00
parent ab0c0199c9
commit 14d481d462
+3 -3
View File
@@ -35,9 +35,9 @@ stdenv.mkDerivation (finalAttrs: {
cmocka # cmake expects cmocka module
];
# BUILD file already exists in the source
# TODO: make unconditional on staging.
cmakeBuildDir = if stdenv.isDarwin then "build.dir" else null;
# BUILD file already exists in the source; this causes issues on
# caseinsensitive Darwin systems.
cmakeBuildDir = "build.dir";
cmakeFlags =
lib.optional finalAttrs.finalPackage.doCheck "-DWITH_TESTS=ON"