[Nix-dev] Re: What should the build farm build?
Ludovic Courtès
ludo at gnu.org
Thu Sep 24 11:04:56 CEST 2009
Hi,
Eelco Dolstra <e.dolstra at tudelft.nl>
writes:
> Ludovic Courtès wrote:
>
>> Eelco Dolstra <e.dolstra at tudelft.nl> writes:
>>
>>> * selectMaintained (renamed): don't use meta.maintainer, just use
>>> meta.platforms.
>>
>> What was the reason for this change?
>>
>> Some time ago, we had (IIRC) reached consensus around the fact that the
>> build farm should pick anything that’s maintained. I recently made a
>> change such that a package that’s maintained and doesn’t have
>> ‘meta.platforms’ is built on all supported platforms.
>
> Aha. It just seemed strange to me that meta.platforms is ignored if
> meta.maintainers is empty. I'll change it to use meta.platforms if it exists,
> and otherwise build on all platforms if meta.maintainers is set.
To be clear, the original idea was:
if meta ? maintainers && meta.maintainers != []
then
if meta ? platforms
then
build on meta.platforms
else
build on lib.platforms.all
fi
fi
Thanks,
Ludo’.
More information about the nix-dev
mailing list