On Thu, 21 Apr 2022, Felix Lechner wrote:
As for this bug, I was aware that I broke the directory feature but,
like you, was also not sure right away about how to handle it
properly. The directory feature for package registrations is described
in the documentation. [1]
Kind regards
Felix Lechner
[1]
https://downloads.haskell.org/cabal/Cabal-3.0.0.0/doc/users-guide/installing-packages.html#cmdoption-setup-register-gen-pkg-config
Actually, as best as I can tell, the old code only supported files as
well, so I don't think this was a regression. It looks as though the
correct approach might be to just install each file that's in the
directory. If you don't have time to look into it, I might take a stab at
it.
Thanks,
Scott