-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
depends_on
: build.head?
seems evaluated in the opposite way
#18575
Comments
Probably relevant: |
Using Incidentally:
I recommend against passing paths to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
brew doctor
outputVerification
brew doctor
output" above saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
twice and am still able to reproduce my issue.brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.brew config
outputWhat were you trying to do (and why)?
I was trying to add the following change to https://github.com/Homebrew/homebrew-core/blob/65bf3b8f5917bf0c1d76fc5e8bc8f2b2e4a418f1/Formula/l/lima.rb
Because the master branch of Lima no longer needs QEMU (on macOS hosts)
What happened (include all command output)?
The
qemu
dependency was being installed regardless to theif !build.head?
condition.However, these dependencies were not being installed after flipping
if !build.head?
toif build.head?
.What did you expect to happen?
depends_on FORMULA if !build.head?
shouldn't be installed for--HEAD
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: