mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:11:49 +00:00
nix: more bazel paths (#53941)
Some stuff needed to build oci images with bazel on nix. Did you know `shasum` comes from the perl package? wild ## Test plan N/A nix stuff
This commit is contained in:
parent
2dbfaa16c2
commit
5fd56a255c
@ -135,7 +135,7 @@ mkShell {
|
||||
# Some of the bazel actions require some tools assumed to be in the PATH defined by the "strict action env" that we enable
|
||||
# through --incompatible_strict_action_env. We can poke a custom PATH through with --action_env=PATH=$BAZEL_ACTION_PATH.
|
||||
# See https://sourcegraph.com/github.com/bazelbuild/bazel@6.1.2/-/blob/src/main/java/com/google/devtools/build/lib/bazel/rules/BazelRuleClassProvider.java?L532-547
|
||||
BAZEL_ACTION_PATH = with pkgs; lib.makeBinPath [ bash stdenv.cc coreutils unzip zip curl gzip gnutar gnused git patch openssh findutils ];
|
||||
BAZEL_ACTION_PATH = with pkgs; lib.makeBinPath [ bash stdenv.cc coreutils unzip zip curl gzip gnutar gnugrep gnused git patch openssh findutils perl python39 which ];
|
||||
|
||||
# bazel complains when the bazel version differs even by a patch version to whats defined in .bazelversion,
|
||||
# so we tell it to h*ck off here.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user