Maybe there could be in pkgs:

boost = if getConfig ["boost" "full"] true then boostFull else boostSmall;

2009/4/9 Peter Simons <[email protected]>:
> Hi Eelco,
>
>  > There is now a variant that builds all the variants (and it's the
>  > default for nix-env -i boost).
>
> great, thank you very much!
>
> I have a question, though. Assume that 'boostFull' is installed, i.e.
> all Boost libraries are available in all variants. Now, the user
> installs a package that depends on Boost, say Monotone, but the
> expression depends on 'boost', not 'boostFull'. Does this mean that all
> of Boost will be compiled again (and installed again) despite the fact
> that all those libraries were in fact available to begin with?
>
> Peter
>
> _______________________________________________
> nix-dev mailing list
> [email protected]
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to