about summary refs log tree commit diff
path: root/pkgs/development/compilers/jsonnet/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/jsonnet/default.nix')
-rw-r--r--pkgs/development/compilers/jsonnet/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/jsonnet/default.nix b/pkgs/development/compilers/jsonnet/default.nix
index 8e723cdb8211..4dc7557d1379 100644
--- a/pkgs/development/compilers/jsonnet/default.nix
+++ b/pkgs/development/compilers/jsonnet/default.nix
@@ -18,7 +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) [
+  ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
     "-DBUILD_SHARED_BINARIES=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}"
   ];