Hi Mark,

Mark H Weaver <m...@netris.org> skribis:

> Our 'ghc-case-insensitive' package contains two 'inputs' field
> initializers.  If I'm not mistaken, the first one is being effectively
> ignored, so 'ghc-hunit' is not actually an input.
>
> It would be good to clean this up so that we can start raising errors
> when duplicate field initializers are present.

What about applying your patch that detects duplicate fields, rebuilding
all the .go files, and then resolving any such case by keeping only the
last occurrence of the field?

This is what happens currently anyway so it won’t change the derivations
produced for the faulty packages.

Ludo’.



Reply via email to