gradle: fix update script with structuredAttrs

(cherry picked from commit 1edaf9905e)
This commit is contained in:
Adam Thompson-Sharpe
2026-06-18 08:53:59 -04:00
committed by github-actions[bot]
parent 4528a339e4
commit d926b5cacf

View File

@@ -37,6 +37,7 @@ lib.makeOverridable (
];
gradleScript = writeShellScript "gradle-commands.sh" ''
set -eo pipefail
if [ -e "''${NIX_ATTRS_SH_FILE:-}" ]; then . "$NIX_ATTRS_SH_FILE"; fi
export http_proxy="$MITM_CACHE_ADDRESS"
export https_proxy="$MITM_CACHE_ADDRESS"
export SSL_CERT_FILE="$MITM_CACHE_CA"