about summary refs log tree commit diff
path: root/pkgs/development/libraries/abseil-cpp/202301.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/abseil-cpp/202301.nix')
-rw-r--r--pkgs/development/libraries/abseil-cpp/202301.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/abseil-cpp/202301.nix b/pkgs/development/libraries/abseil-cpp/202301.nix
index 62d98d77a38f..502437280246 100644
--- a/pkgs/development/libraries/abseil-cpp/202301.nix
+++ b/pkgs/development/libraries/abseil-cpp/202301.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation (finalAttrs: {
     hash = "sha256-7C/QIXYRyUyNVVE0tqmv8b5g/uWc58iBI5jzdtddQ+U=";
   };
 
-  patches = lib.optionals stdenv.isDarwin [
+  patches = lib.optionals stdenv.hostPlatform.isDarwin [
     # Don’t propagate the path to CoreFoundation. Otherwise, it’s impossible to build packages
     # that require a different SDK other than the default one.
     ./cmake-core-foundation.patch