[Nix-dev] Re: [Nix-commits] SVN commit: nix - 22282 - MarcWeber - nixpkgs/branches/stdenv-updates/pkgs/stdenv/generic

Ludovic Courtès ludo at gnu.org
Wed Jun 16 23:04:12 CEST 2010


Hi,

Marc Weber <marco-oweber at gmx.de> writes:

>> I see this factorization benefit.  However, wouldn’t it work to use
>> ‘makeFlags’ for ‘-j’ flags?
>
> It would. That's when opt-out starts mattering. How would you implement opt-out
> for each phase then?

I don’t think ‘-j’ matters outside of ‘buildPhase’, so I don’t see the
need for per-phase options.

> $curPhase is set by the builder anyway. This leads to the names being
> disliked by Eelco Dolstra: NO_PARALLEL_BUILD_buildPhase etc:

Yes, it sucks IMO too.

Thanks,
Ludo’.




More information about the nix-dev mailing list