[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41451: Haskell packages retain references to bootstrap variants
From: |
Ricardo Wurmus |
Subject: |
bug#41451: Haskell packages retain references to bootstrap variants |
Date: |
Tue, 26 May 2020 08:49:43 +0200 |
User-agent: |
mu4e 1.4.4; emacs 26.3 |
Ludovic Courtès <address@hidden> writes:
> Ricardo Wurmus <address@hidden> skribis:
>
>> Ricardo Wurmus <address@hidden> 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