
- Allow cache paths in FromPathLoader when HOMEBREW_FORBID_PACKAGES_FROM_PATHS is set - Fixes issue where HEAD installations fail due to temporary source downloads - Add test case to verify cache paths are allowed when path restrictions are enabled The issue occurred because HEAD installations download formula sources to cache directories, but HOMEBREW_FORBID_PACKAGES_FROM_PATHS only allowed paths from HOMEBREW_CELLAR and HOMEBREW_LIBRARY/Taps, causing the installation to fail. Closes: homebrew/brew#issue-number
Library
This directory contains all the code run by the official brew
command in Homebrew
and all formulae (package descriptions) in taps (repositories containing formulae) in Taps
subdirectories.