diff options
author | Harsh Modi <hmodi@aviatrix.com> | 2023-08-18 22:10:46 -0700 |
---|---|---|
committer | Harsh Modi <hmodi@aviatrix.com> | 2023-09-12 10:14:31 -0700 |
commit | a8f616d11c6df6677b940cdb0c8945c5c1b0998e (patch) | |
tree | abe508c63fbd57a4c3915fb1feb05ff706763c93 /nixos/modules/services/games | |
parent | b874fb56d0f07a0ff88fcdc17e0001760ca89556 (diff) |
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
Diffstat (limited to 'nixos/modules/services/games')
0 files changed, 0 insertions, 0 deletions