bazel: add `file` and `zip` in the test runner env

`file` and `zip` are needed for some bazel test and by default the test
runner take these binaries from the current `PATH` which may not contain
them
This commit is contained in:
Guillaume Bouchard 2019-12-04 10:23:38 +01:00
parent 20752ba4f7
commit c0a6fc4a56
1 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@
, enableNixHacks ? false
, gcc-unwrapped
, autoPatchelfHook
, file
, substituteAll
}:
@ -92,7 +93,7 @@ let
# ],
# )
#
[ bash coreutils findutils gawk gnugrep gnutar gnused gzip which unzip ];
[ bash coreutils findutils gawk gnugrep gnutar gnused gzip which unzip file zip ];
# Java toolchain used for the build and tests
javaToolchain = "@bazel_tools//tools/jdk:toolchain_host${buildJdkName}";