Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Allow requirements to specify env options #16733

Closed
wants to merge 4 commits into from
Closed

Allow requirements to specify env options #16733

wants to merge 4 commits into from

Conversation

jacknagel
Copy link
Contributor

Requirements can now specify env :userpaths, env :std, or any future env options that we add, though right now only env :userpaths is respected.

@adamv
Copy link
Contributor

adamv commented Dec 24, 2012

Add message to the DSL? Optional.

@jacknagel
Copy link
Contributor Author

Thought about it, but some messages interpolate instance variables so they would have to continue using the method form, so I didn't bother.

@@ -100,14 +100,16 @@ class MPIDependency < Requirement

attr_reader :lang_list

fatal true

env :userpaths
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... but when statisfied? is called, the build environment is not yet set up, so it is not satisfied :-(

@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants