about summary refs log tree commit diff
path: root/pkgs/development/libraries/wangle/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/wangle/default.nix')
-rw-r--r--pkgs/development/libraries/wangle/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/wangle/default.nix b/pkgs/development/libraries/wangle/default.nix
index e90d05318eac..d07145641a70 100644
--- a/pkgs/development/libraries/wangle/default.nix
+++ b/pkgs/development/libraries/wangle/default.nix
@@ -34,7 +34,7 @@ stdenv.mkDerivation (finalAttrs: {
   cmakeFlags = [
     "-Wno-dev"
     (lib.cmakeBool "BUILD_TESTS" finalAttrs.finalPackage.doCheck)
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.14" # For aligned allocation
   ];
 
@@ -64,7 +64,7 @@ stdenv.mkDerivation (finalAttrs: {
 
       # https://github.com/facebook/wangle/issues/206
       "SSLContextManagerTest.TestSessionContextCertRemoval"
-    ] ++ lib.optionals stdenv.isDarwin [
+    ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
       # flaky
       "BroadcastPoolTest.ThreadLocalPool"
       "Bootstrap.UDPClientServerTest"