[Haskell-beginners] cabal optional build-depends

PICCA Frederic-Emmanuel frederic-emmanuel.picca at synchrotron-soleil.fr
Sat Sep 24 11:15:55 UTC 2016


Hello

the hmatrix package was splitte hmatrix -> hmatrix, hmatrix-gsl, ...
for version > 0.16

I use Debian stable and need to support hmatrix 0.15 (with no split) and hmatrix >= 0.17 (splitted)

I would like to know how to suport this in the cabal file

only hmatrix if >= 0.15 && < 0.16

and

hmatrix + hmatrix-gsl if hmatrix > 0.17

thanks for your help


Frederic


More information about the Beginners mailing list