about summary refs log tree commit diff
path: root/pkgs/development/libraries/geos/3.11.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/geos/3.11.nix')
-rw-r--r--pkgs/development/libraries/geos/3.11.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/geos/3.11.nix b/pkgs/development/libraries/geos/3.11.nix
index fb3eccf997a1..32e1f39965d7 100644
--- a/pkgs/development/libraries/geos/3.11.nix
+++ b/pkgs/development/libraries/geos/3.11.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
   nativeBuildInputs = [ cmake ];
 
   # https://github.com/libgeos/geos/issues/930
-  cmakeFlags = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
+  cmakeFlags = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
     "-DCMAKE_CTEST_ARGUMENTS=--exclude-regex;unit-geom-Envelope"
   ];