Hi,

Eelco Dolstra <e.dols...@tudelft.nl>
writes:

> Ludovic Courtès wrote:
>
>> Eelco Dolstra <e.dols...@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’.

_______________________________________________
nix-dev mailing list
nix-dev@cs.uu.nl
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to