diff options
author | Florian Klink <flokli@flokli.de> | 2023-07-26 19:35:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 19:35:27 +0200 |
commit | a0730a3244fca4fce5b81a3c89e326b0b60d3576 (patch) | |
tree | 3635bb40095829675dd00a317d8094c92293f36e | |
parent | 6540f039d4bcc69d3f54237d400159a9153684b6 (diff) | |
parent | 8e047a58c4475b9685a8232abc5851cdc54aabc7 (diff) |
Merge pull request #245563 from flokli/fix-jsonnet-darwin
jsonnet: fix build on darwin
-rw-r--r-- | pkgs/development/compilers/jsonnet/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/compilers/jsonnet/default.nix b/pkgs/development/compilers/jsonnet/default.nix index ce31fe08195ad..8e723cdb82114 100644 --- a/pkgs/development/compilers/jsonnet/default.nix +++ b/pkgs/development/compilers/jsonnet/default.nix @@ -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"}" ]; |