about summary refs log tree commit diff
path: root/pkgs/by-name/pr/protoc-gen-js/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/pr/protoc-gen-js/package.nix')
-rw-r--r--pkgs/by-name/pr/protoc-gen-js/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/pr/protoc-gen-js/package.nix b/pkgs/by-name/pr/protoc-gen-js/package.nix
index 5f3a592e0faa..debf368cdf19 100644
--- a/pkgs/by-name/pr/protoc-gen-js/package.nix
+++ b/pkgs/by-name/pr/protoc-gen-js/package.nix
@@ -17,7 +17,7 @@ buildBazelPackage rec {
   removeRulesCC = false;
   removeLocalConfigCC = false;
 
-  LIBTOOL = lib.optionalString stdenv.isDarwin "${cctools}/bin/libtool";
+  LIBTOOL = lib.optionalString stdenv.hostPlatform.isDarwin "${cctools}/bin/libtool";
 
   fetchAttrs.hash = "sha256-WOBlZ0XNrl5UxIaSDxZeOfzS2a8ZkrKdTLKHBDC9UNQ=";