From 69e9f60da879e65753a472bff52462fb5c696c7d Mon Sep 17 00:00:00 2001 From: Gibson Fahnestock Date: Mon, 13 Jan 2025 19:35:31 +0000 Subject: [PATCH] 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`. --- Library/Homebrew/build_environment.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/build_environment.rb b/Library/Homebrew/build_environment.rb index 10fecf1579ba9..48eac54ff682f 100644 --- a/Library/Homebrew/build_environment.rb +++ b/Library/Homebrew/build_environment.rb @@ -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