about summary refs log tree commit diff
path: root/pkgs/development/php-packages/relay/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/php-packages/relay/default.nix')
-rw-r--r--pkgs/development/php-packages/relay/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/php-packages/relay/default.nix b/pkgs/development/php-packages/relay/default.nix
index 56d826cb4b94..4a3f21a08a90 100644
--- a/pkgs/development/php-packages/relay/default.nix
+++ b/pkgs/development/php-packages/relay/default.nix
@@ -77,8 +77,8 @@ stdenv.mkDerivation (finalAttrs: {
     system = stdenv.hostPlatform.system;
     phpMajor = lib.versions.majorMinor php.version;
   };
-  nativeBuildInputs = lib.optionals (!stdenv.isDarwin) [ autoPatchelfHook ];
-  buildInputs = lib.optionals (!stdenv.isDarwin) [
+  nativeBuildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ autoPatchelfHook ];
+  buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [
     openssl
     zstd
     lz4
@@ -92,7 +92,7 @@ stdenv.mkDerivation (finalAttrs: {
       chmod +w $out/lib/php/extensions/relay.so
     ''
     + (
-      if stdenv.isDarwin then
+      if stdenv.hostPlatform.isDarwin then
         let
           args =
             lib.strings.concatMapStrings