about summary refs log tree commit diff
path: root/pkgs/applications/blockchains/optimism/geth.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/blockchains/optimism/geth.nix')
-rw-r--r--pkgs/applications/blockchains/optimism/geth.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/blockchains/optimism/geth.nix b/pkgs/applications/blockchains/optimism/geth.nix
index 722402e704d3..473ee254d08f 100644
--- a/pkgs/applications/blockchains/optimism/geth.nix
+++ b/pkgs/applications/blockchains/optimism/geth.nix
@@ -37,7 +37,7 @@ buildGoModule rec {
 
   # Fix for usb-related segmentation faults on darwin
   propagatedBuildInputs =
-    lib.optionals stdenv.isDarwin [ libobjc IOKit ];
+    lib.optionals stdenv.hostPlatform.isDarwin [ libobjc IOKit ];
 
   ldflags = [ "-s" "-w" ];