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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user