Subject: bug#41451: Haskell packages retain references to bootstrap variants

From: Ricardo Wurmus <[email-masked]>
Date: Tue, 26 May 2020 08:49:43 +0200

Ludovic Courtès <[email-masked]> writes:

> Ricardo Wurmus <[email-masked]> skribis:
>
>> Ricardo Wurmus <[email-masked]> writes:
>>
>>> Some Haskell packages have a “-bootstrap” variant to cut dependency
>>> cycles.  Unfortunately, these bootstrap variants remain in the reference
>>> graph alongside their non-bootstrap counterparts.
>>
>> On a related note, Haskell packages retain needless references to *all*
>> other Haskell packages at build time.  That’s because we *copy* their
>> .conf files at build time to create a package cache, and these .conf
>> files thus propagate even to unrelated packages.
>
> Weren’t these files eventually superseded by the
> ‘ghc-package-cache-file’ profile hook?  Or are these two different
> things?

That hook also operates on the .conf.d directory containing all .conf
files that have been copied from Haskell inputs.

-- 
Ricardo