mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
Merge pull request #245563 from flokli/fix-jsonnet-darwin
jsonnet: fix build on darwin
This commit is contained in:
commit
a0730a3244
|
@ -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"}"
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue