Merge pull request #245563 from flokli/fix-jsonnet-darwin

jsonnet: fix build on darwin
This commit is contained in:
Florian Klink
2023-07-26 19:35:27 +02:00
committed by GitHub
@@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DUSE_SYSTEM_GTEST=ON"
"-DBUILD_STATIC_LIBS=${if stdenv.hostPlatform.isStatic then "ON" else "OFF"}"
] ++ lib.optionals (!stdenv.isDarwin) [
"-DBUILD_SHARED_BINARIES=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}"
];