mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
c27f686a4b
Bazel either reuses the `PATH` from the client, or sets a hardcoded one. The former mode in problematic for build hermeticity. But the latter is crippled on NixOS, because the hardcoded value is `/bin:/usr/bin`. So we set the hardcoded value to match what `customBash` provides. This has the effect of aligning the environments for `ctx.actions.run` and `ctx.actions.run_shell`, which were previously distinct (bug). |
||
---|---|---|
.. | ||
bazel-deps | ||
buildtools | ||
0.4.nix | ||
default.nix | ||
nix-hacks-0.4.patch | ||
nix-hacks.patch |