[Haskell-cafe] How to handle C library dependencies on Hackage?

. ch.gosch at googlemail.com
Sun Mar 25 21:00:14 CEST 2012

Hello Cafe,
I recently did my first upload to Hackage:
The library does not build (and therefore unfortunately the
documentation is not built either), because
the C library that it needs to wrap is usually not installed with normal
Linux distributions. It's LAPACKE (note the E at the end).
I /could/ upload the source code of that library alongside my Haskell
library and build it using Setup.hs (this works on my computer).
However, LAPACKE is large compated to my own library (about 16MB
sources) and I don't want to flood Hackage with it if it's not

Can anyone here give me some advice on how to solve this on the system
that builds the hackage packages?

Thanks very much,

More information about the Haskell-Cafe mailing list