about summary refs log tree commit diff
path: root/pkgs/development/libraries/mongocxx
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/mongocxx')
-rw-r--r--pkgs/development/libraries/mongocxx/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/mongocxx/default.nix b/pkgs/development/libraries/mongocxx/default.nix
index 5659043e2f62..415e7ca96e3a 100644
--- a/pkgs/development/libraries/mongocxx/default.nix
+++ b/pkgs/development/libraries/mongocxx/default.nix
@@ -10,7 +10,7 @@
 , darwin
 }:
 
-let stdenv = if pkgs.stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else pkgs.stdenv; in
+let stdenv = if pkgs.stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else pkgs.stdenv; in
 
 stdenv.mkDerivation (finalAttrs: {
   pname = "mongocxx";
@@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: {
     mongoc
     openssl
     cyrus_sasl
-  ] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Security;
 
   cmakeFlags = [
     "-DCMAKE_CXX_STANDARD=20"