about summary refs log tree commit diff
path: root/pkgs/development/tools/build-managers
diff options
context:
space:
mode:
authorGuillaume Bouchard <guillaume.bouchard@tweag.io>2019-12-04 10:23:38 +0100
committerGuillaume Bouchard <guillaume.bouchard@tweag.io>2019-12-04 12:59:32 +0100
commitc0a6fc4a561e6c8f5f52718aed0f9f8870dab752 (patch)
tree6dbf47e68e22b3995e3e233c9f9b3022702b4399 /pkgs/development/tools/build-managers
parent20752ba4f76250509d4dd89a0bf44c808cc589b9 (diff)
downloadnixlib-c0a6fc4a561e6c8f5f52718aed0f9f8870dab752.tar
nixlib-c0a6fc4a561e6c8f5f52718aed0f9f8870dab752.tar.gz
nixlib-c0a6fc4a561e6c8f5f52718aed0f9f8870dab752.tar.bz2
nixlib-c0a6fc4a561e6c8f5f52718aed0f9f8870dab752.tar.lz
nixlib-c0a6fc4a561e6c8f5f52718aed0f9f8870dab752.tar.xz
nixlib-c0a6fc4a561e6c8f5f52718aed0f9f8870dab752.tar.zst
nixlib-c0a6fc4a561e6c8f5f52718aed0f9f8870dab752.zip
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
Diffstat (limited to 'pkgs/development/tools/build-managers')
-rw-r--r--pkgs/development/tools/build-managers/bazel/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/tools/build-managers/bazel/default.nix b/pkgs/development/tools/build-managers/bazel/default.nix
index 3064eb92043e..aef940732193 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}";