[macOS] Force curl to use IPv4 (#9586)

This commit is contained in:
Erik Bershel
2024-03-28 18:08:30 +01:00
committed by GitHub
parent e11c4abc89
commit 22ff21d8bd
2 changed files with 4 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ export DOTNET_MULTILEVEL_LOOKUP=0
export HOMEBREW_NO_AUTO_UPDATE=1
export HOMEBREW_NO_INSTALL_CLEANUP=1
export HOMEBREW_CASK_OPTS="--no-quarantine"
export HOMEBREW_CURLRC=1
export BOOTSTRAP_HASKELL_NONINTERACTIVE=1
export BOOTSTRAP_HASKELL_INSTALL_NO_STACK_HOOK=1

View File

@@ -36,6 +36,9 @@ brew_smart_install jq
echo "Installing curl..."
brew_smart_install curl
echo "Configuring curl to resolve names with IPv4..."
echo '--ipv4' >> ~/.curlrc
echo "Installing wget..."
brew_smart_install "wget"