From 2aea3ebc9cd82a07b0915a700880824939251273 Mon Sep 17 00:00:00 2001 From: Yves-Stan Le Cornec Date: Wed, 15 Dec 2021 15:53:56 +0100 Subject: [PATCH] bazel_4: add which binary to test buildInputs The which binary is used by the tests to find python location from the PATH. --- pkgs/development/tools/build-managers/bazel/bazel_4/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/build-managers/bazel/bazel_4/default.nix b/pkgs/development/tools/build-managers/bazel/bazel_4/default.nix index 64200c58fd8d..6bce4393e126 100644 --- a/pkgs/development/tools/build-managers/bazel/bazel_4/default.nix +++ b/pkgs/development/tools/build-managers/bazel/bazel_4/default.nix @@ -240,7 +240,7 @@ stdenv.mkDerivation rec { runLocal = name: attrs: script: let attrs' = removeAttrs attrs [ "buildInputs" ]; - buildInputs = [ python3 ] ++ (attrs.buildInputs or []); + buildInputs = [ python3 which ] ++ (attrs.buildInputs or []); in runCommandCC name ({ inherit buildInputs;