about summary refs log tree commit diff
path: root/pkgs/development/tools/geckodriver/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/geckodriver/default.nix')
-rw-r--r--pkgs/development/tools/geckodriver/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/geckodriver/default.nix b/pkgs/development/tools/geckodriver/default.nix
index f62ab97c1bee..7af8747ef8c4 100644
--- a/pkgs/development/tools/geckodriver/default.nix
+++ b/pkgs/development/tools/geckodriver/default.nix
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-gopI5iOCSzD23mvOues76WIiBtpNf9A6X9NoOULm6Qo=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv Security ];
 
   meta = with lib; {
     description = "Proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers";