bazel_4: add which binary to test buildInputs

The which binary is used by the tests to find python location from the PATH.
This commit is contained in:
Yves-Stan Le Cornec
2021-12-15 15:53:56 +01:00
parent be9385ce59
commit 2aea3ebc9c
@@ -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;