[Nix-dev] lipo (was: Debugging nixpkgs)
Yury G. Kudryashov
urkud.urkud at gmail.com
Tue Mar 27 22:38:44 CEST 2012
Konrad Hinsen wrote:
> Peter Simons writes:
>
> > in the past, we have dealt with these kind of problems by passing lipo
> > explicitly to those expressions that need it. The 'mesa' expression,
> > for example, takes the following argument:
> >
> > lipo = if stdenv.isDarwin then darwinLipoUtility else null;
>
> That's fine as well, but it seems this implies many more changes to
> implement the fix: all-packages.nix needs to get that lipo-line added in
> various places and then a number of gcc-related derivations need to be
> modified.
Just my 2 cents: you can create lipoOrNull attr (look at libiconvOrNull).
--
Yury G. Kudryashov,
mailto: urkud at mccme.ru
More information about the nix-dev
mailing list