beamPackages.buildMix,buildRebar3: merge args.env with builder env

This commit is contained in:
Adam C. Stephens
2026-03-26 23:37:53 -04:00
parent 7d3b8eaea8
commit 922a9d65f4
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -57,7 +57,8 @@ lib.extendMkDerivation {
# some hooks need name-version, but we've overridden name above for the nix package
beamModuleName = args.name;
};
}
// (args.env or { });
__darwinAllowLocalNetworking = true;
@@ -67,7 +67,8 @@ lib.extendMkDerivation {
"[${lib.concatStringsSep "," options}]";
beamModuleName = args.name;
};
}
// (args.env or { });
setupHook = writeText "setupHook.sh" ''
addToSearchPath ERL_LIBS "$1/lib/erlang/lib/"