about summary refs log tree commit diff
path: root/pkgs/by-name/op/opentelemetry-cpp/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/op/opentelemetry-cpp/package.nix')
-rw-r--r--pkgs/by-name/op/opentelemetry-cpp/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/op/opentelemetry-cpp/package.nix b/pkgs/by-name/op/opentelemetry-cpp/package.nix
index e8f799f765ee..47f4d7b73155 100644
--- a/pkgs/by-name/op/opentelemetry-cpp/package.nix
+++ b/pkgs/by-name/op/opentelemetry-cpp/package.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
 
   patches = [
     ./0001-Disable-tests-requiring-network-access.patch
-  ] ++ lib.optional stdenv.isDarwin ./0002-Disable-segfaulting-test-on-Darwin.patch;
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin ./0002-Disable-segfaulting-test-on-Darwin.patch;
 
   nativeBuildInputs = [ cmake ];