[Nix-dev] Re: overriding gcc in dependencies.
Eelco Dolstra
e.dolstra at tudelft.nl
Mon Oct 4 18:26:07 CEST 2010
Hi,
On 10/04/2010 06:02 PM, roconnor at theorem.ca wrote:
> On Mon, 4 Oct 2010, Yury G. Kudryashov wrote:
>
>> roconnor at theorem.ca wrote:
>>
>>> openjade requires gcc33 to build.
>>> openjade also requires opensp to build.
>>>
>>> opensp doesn't require gcc33 to build.
>>>
>>> How do I get openjade to use a version of opensp that uses gcc33?
>> opensp = opensp.override { stdenv = ... };
>
> Wow. Does every derivation make an override function?
Basically, yes. The function "makeOverridable" adds an "override" function to
the result of a function call, and "callPackage" applies "makeOverridable".
--
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
More information about the nix-dev
mailing list