protoc-gen-js: move env variable(s) into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-19 15:59:56 +01:00
parent 478028c9d3
commit fe9698c377
+3 -1
View File
@@ -40,7 +40,9 @@ buildBazelPackage' rec {
removeRulesCC = false;
removeLocalConfigCC = false;
LIBTOOL = lib.optionalString stdenv.hostPlatform.isDarwin "${cctools}/bin/libtool";
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
LIBTOOL = "${cctools}/bin/libtool";
};
fetchAttrs = {
preInstall = ''