libcbor: avoid rebuilding on linux for now

CI says
> Rebuild: linux 15669, darwin 415
This commit is contained in:
Vladimír Čunát
2025-04-07 14:28:40 +02:00
parent 380c21f035
commit bf0caab620
+2 -1
View File
@@ -36,7 +36,8 @@ stdenv.mkDerivation (finalAttrs: {
];
# BUILD file already exists in the source
cmakeBuildDir = "build.dir";
# TODO: make unconditional on staging.
cmakeBuildDir = if stdenv.isDarwin then "build.dir" else null;
cmakeFlags =
lib.optional finalAttrs.finalPackage.doCheck "-DWITH_TESTS=ON"