nixpkgs/pkgs/development/tools/build-managers/bazel
Harsh Modi a8f616d11c bazel_6: Add diffutils and gnupatch to initialEnvironment
Nix's version of bazel has custom patches to make bazel more hermetic when used with nix. One of those is limiting the default
environment of Bash. However, this default environment is insufficient because lots of programs rely on diff being in the path like buildifier, golangci-lint, and other things since golang diff implementations aren't very good.

Ideally we'd include "diffutils" as part of this list for rules that assume the presence of "diff" and don't allow nice knobs to configure otherwise.

Furthermore, bazel has a lot of internal facilities that utilize patch (like when downloading workspaces, we have the option of patching them), so include gnupatch as well.

Fixes #249846
2023-09-12 10:14:31 -07:00
..
bazel_4 treewide: use optionalAttrs instead of 'else {}' 2023-06-25 11:01:34 -03:00
bazel_5 treewide: use optionalAttrs instead of 'else {}' 2023-06-25 11:01:34 -03:00
bazel_6 bazel_6: Add diffutils and gnupatch to initialEnvironment 2023-09-12 10:14:31 -07:00
bazel-remote bazel-remote: 2.4.2 -> 2.4.3 2023-08-30 04:20:00 +00:00
buildtools bazel-buildtools: 6.3.2 -> 6.3.3 2023-08-25 04:20:00 +00:00
bash-tools-test.nix
bazel_darwin_sandbox.patch
bazel_rc.patch
cpp-test.nix
java-test.nix
nix-hacks.patch
protobuf-test.nix
python-bin-path-test.nix
README.md
shebang-test.nix
strict_action_env.patch
trim-last-argument-to-gcc-if-empty.patch
update-srcDeps.py

The Bazel build tool

https://bazel.build/

The bazel tool requires regular maintenance, especially under darwin, so we created a maintainers team.

Please ping @NixOS/bazel in your github PR/issue to increase your chance of a quick turnaround, thanks!