about summary refs log tree commit diff
path: root/pkgs/development/libraries/geos/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/geos/default.nix')
-rw-r--r--pkgs/development/libraries/geos/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/geos/default.nix b/pkgs/development/libraries/geos/default.nix
index 849fe64634a5..0cd143a1ded4 100644
--- a/pkgs/development/libraries/geos/default.nix
+++ b/pkgs/development/libraries/geos/default.nix
@@ -19,7 +19,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"
   ];