From c0a6fc4a561e6c8f5f52718aed0f9f8870dab752 Mon Sep 17 00:00:00 2001 From: Guillaume Bouchard Date: Wed, 4 Dec 2019 10:23:38 +0100 Subject: [PATCH] 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 --- pkgs/development/tools/build-managers/bazel/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/build-managers/bazel/default.nix b/pkgs/development/tools/build-managers/bazel/default.nix index 3064eb92043..aef94073219 100644 --- a/pkgs/development/tools/build-managers/bazel/default.nix +++ b/pkgs/development/tools/build-managers/bazel/default.nix @@ -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}";