about summary refs log tree commit diff
path: root/pkgs/development/php-packages/mongodb/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/php-packages/mongodb/default.nix')
-rw-r--r--pkgs/development/php-packages/mongodb/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/php-packages/mongodb/default.nix b/pkgs/development/php-packages/mongodb/default.nix
index 03487e15dbb3..edb6d900c99a 100644
--- a/pkgs/development/php-packages/mongodb/default.nix
+++ b/pkgs/development/php-packages/mongodb/default.nix
@@ -16,13 +16,13 @@
 
 buildPecl rec {
   pname = "mongodb";
-  version = "1.19.4";
+  version = "1.20.0";
 
   src = fetchFromGitHub {
     owner = "mongodb";
     repo = "mongo-php-driver";
     rev = version;
-    hash = "sha256-71CS9boQzW2NMmkQeOQjGaTx2CN3bkcfgO5NwV9J9JI=";
+    hash = "sha256-+Q/z5xrhiKTh2hVT6sdpI6sY6E7MTtTJQZBGASy5tAU=";
     fetchSubmodules = true;
   };
 
@@ -36,7 +36,7 @@ buildPecl rec {
       zlib
       pcre2
     ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       darwin.apple_sdk_11_0.frameworks.Security
       darwin.apple_sdk_11_0.Libsystem
       libiconv