[Nix-dev] Re: overriding gcc in dependencies.

roconnor at theorem.ca roconnor at theorem.ca
Mon Oct 4 18:03:48 CEST 2010


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 = ... };

So does the following derivation look reasonable now?

   openjade = callPackage ../tools/text/sgml/openjade {
     stdenv = overrideGCC stdenv gcc33;
     opensp = opensp.override { stdenv = overrideGCC stdenv gcc33; };
   };

-- 
Russell O'Connor                                      <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''



More information about the nix-dev mailing list