buildBazelPackage: run in batch mode to avoid requiring loopback networking

This commit is contained in:
Dmitry Kalinkin
2022-09-11 12:51:57 -04:00
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 \