Skip to content

Commit 6ba189e

Browse files
committed
build_environment: pass http_proxy env vars through to build env
This allows you to build bottles in an environment that doesn't have access to the source URLs, or things downloaded during the bottling phase, without a proxy. These are the set of environment variables that are already documented in `man brew`.
1 parent 4c9de7d commit 6ba189e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Library/Homebrew/build_environment.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def env(*settings)
4949
CMAKE_PREFIX_PATH CMAKE_INCLUDE_PATH CMAKE_LIBRARY_PATH CMAKE_FRAMEWORK_PATH
5050
MACOSX_DEPLOYMENT_TARGET PKG_CONFIG_PATH PKG_CONFIG_LIBDIR
5151
HOMEBREW_DEBUG HOMEBREW_MAKE_JOBS HOMEBREW_VERBOSE
52+
all_proxy ftp_proxy http_proxy https_proxy no_proxy
5253
HOMEBREW_SVN HOMEBREW_GIT
5354
HOMEBREW_SDKROOT
5455
MAKE GIT CPP

0 commit comments

Comments
 (0)