about summary refs log tree commit diff
path: root/pkgs/development/libraries/geos
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/geos')
-rw-r--r--pkgs/development/libraries/geos/3.11.nix2
-rw-r--r--pkgs/development/libraries/geos/default.nix6
2 files changed, 4 insertions, 4 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"
   ];
 
diff --git a/pkgs/development/libraries/geos/default.nix b/pkgs/development/libraries/geos/default.nix
index 849fe64634a5..2e63196b0420 100644
--- a/pkgs/development/libraries/geos/default.nix
+++ b/pkgs/development/libraries/geos/default.nix
@@ -9,17 +9,17 @@
 
 stdenv.mkDerivation (finalAttrs: {
   pname = "geos";
-  version = "3.12.2";
+  version = "3.13.0";
 
   src = fetchurl {
     url = "https://download.osgeo.org/geos/geos-${finalAttrs.version}.tar.bz2";
-    hash = "sha256-NMd3C/AJDuiEiK+Ydn0I53nxJPozQ34Kq+yKvUYJ/sY=";
+    hash = "sha256-R+yD/zNNZyueRCZpXxXabmNoJEIUlx+r84b/jvbfOeQ=";
   };
 
   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"
   ];