Skip to content

Commit

Permalink
[macOS] Force curl to use IPv4 (#9586)
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-bershel committed Mar 28, 2024
1 parent e11c4ab commit 22ff21d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions images/macos/assets/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions images/macos/scripts/build/install-homebrew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 22ff21d

Please sign in to comment.