Technically I think GHC doesn’t support .hi files built with different GHCs, unfortunately.

I don’t think that cabal-install supports binary packages as far as I know :(

On Aug 27, 2020, at 3:57 PM, Sylvester Hazel via Haskell-Cafe <haskell-cafe@haskell.org> wrote:

Hi Haskellers,

Cabal couldn't resolve dependencies for a generated package so I used Stack that used 2 different GHC versions to build library from this package. Stack stored the library as libHSclient-something.a , HSclient-something.o and helper ".hi" files

The dependent libraries Stack stored and registered at C:\sr..\lib\

How to add this information to GHC or Cabal database to be able to use this new library? This is on Chocolatey managed Windows platform;-)

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.