forked from mirrors/nixpkgs
buildBazelPackage: run in batch mode to avoid requiring loopback networking
This commit is contained in:
parent
4922ed06b0
commit
fe67982028
|
@ -90,6 +90,7 @@ in stdenv.mkDerivation (fBuildAttrs // {
|
|||
BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 \
|
||||
USER=homeless-shelter \
|
||||
bazel \
|
||||
--batch \
|
||||
--output_base="$bazelOut" \
|
||||
--output_user_root="$bazelUserRoot" \
|
||||
${if fetchConfigured then "build --nobuild" else "fetch"} \
|
||||
|
@ -211,6 +212,7 @@ in stdenv.mkDerivation (fBuildAttrs // {
|
|||
BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 \
|
||||
USER=homeless-shelter \
|
||||
bazel \
|
||||
--batch \
|
||||
--output_base="$bazelOut" \
|
||||
--output_user_root="$bazelUserRoot" \
|
||||
build \
|
||||
|
|
Loading…
Reference in a new issue