about summary refs log tree commit diff
path: root/pkgs/tools/security/onlykey/onlykey.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/onlykey/onlykey.nix')
-rw-r--r--pkgs/tools/security/onlykey/onlykey.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/onlykey/onlykey.nix b/pkgs/tools/security/onlykey/onlykey.nix
index b154efb74712..b10d8718b7be 100644
--- a/pkgs/tools/security/onlykey/onlykey.nix
+++ b/pkgs/tools/security/onlykey/onlykey.nix
@@ -8,7 +8,7 @@ let
   nodeEnv = import ../../../development/node-packages/node-env.nix {
     inherit (pkgs) stdenv lib python2 runCommand writeTextFile writeShellScript;
     inherit pkgs nodejs;
-    libtool = if pkgs.stdenv.isDarwin then pkgs.cctools or pkgs.darwin.cctools else null;
+    libtool = if pkgs.stdenv.hostPlatform.isDarwin then pkgs.cctools or pkgs.darwin.cctools else null;
   };
 in
 import ./node-packages.nix {