From 5fd56a255c9c3bbbb127aabf378d691bf03c9683 Mon Sep 17 00:00:00 2001 From: Noah S-C Date: Thu, 22 Jun 2023 13:39:38 +0100 Subject: [PATCH] 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 --- shell.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index 7fe7eccf872..c7b89dc086e 100644 --- a/shell.nix +++ b/shell.nix @@ -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.