3
0
Fork 0
forked from mirrors/nixpkgs

buildBazelPackage: run in batch mode to avoid requiring loopback networking

This commit is contained in:
Dmitry Kalinkin 2021-11-27 22:15:04 -05:00
parent 4922ed06b0
commit fe67982028
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -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 \