libcbor: clean up rebuild avoidance (#442096)

This commit is contained in:
Emily
2025-09-13 15:49:56 +01:00
committed by GitHub
+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"