Skip to content

Commit

Permalink
build_environment: pass http_proxy env vars through to build env
Browse files Browse the repository at this point in the history
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`.
gibfahn committed Jan 13, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent f532342 commit 69e9f60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Library/Homebrew/build_environment.rb
Original file line number Diff line number Diff line change
@@ -49,6 +49,7 @@ def env(*settings)
CMAKE_PREFIX_PATH CMAKE_INCLUDE_PATH CMAKE_LIBRARY_PATH CMAKE_FRAMEWORK_PATH
MACOSX_DEPLOYMENT_TARGET PKG_CONFIG_PATH PKG_CONFIG_LIBDIR
HOMEBREW_DEBUG HOMEBREW_MAKE_JOBS HOMEBREW_VERBOSE
all_proxy ftp_proxy http_proxy https_proxy no_proxy
HOMEBREW_SVN HOMEBREW_GIT
HOMEBREW_SDKROOT
MAKE GIT CPP

0 comments on commit 69e9f60

Please sign in to comment.