about summary refs log tree commit diff
path: root/pkgs/servers/web-apps/ethercalc/node-packages.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/web-apps/ethercalc/node-packages.nix')
-rw-r--r--pkgs/servers/web-apps/ethercalc/node-packages.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/web-apps/ethercalc/node-packages.nix b/pkgs/servers/web-apps/ethercalc/node-packages.nix
index e9c5ff0e4fee..0a4e2b7c9aba 100644
--- a/pkgs/servers/web-apps/ethercalc/node-packages.nix
+++ b/pkgs/servers/web-apps/ethercalc/node-packages.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-generated.nix {