build-bazel-package: pass proxy env vars

This commit is contained in:
Matthew Bauer 2020-05-09 13:35:47 -05:00
parent 2a8d05627b
commit 1e19cc37bd

View File

@ -45,6 +45,8 @@ in stdenv.mkDerivation (fBuildAttrs // {
name = "${name}-deps.tar.gz";
inherit bazelFlags bazelBuildFlags bazelFetchFlags bazelTarget;
impureEnvVars = lib.fetchers.proxyImpureEnvVars;
nativeBuildInputs = fFetchAttrs.nativeBuildInputs or [] ++ [ bazel ];
preHook = fFetchAttrs.preHook or "" + ''