
11 Mar
2016
11 Mar
'16
5:16 a.m.
Hi David,
I've also briefly contemplated using the Cabal library to read my .cabal file and work out what to do, but I'm unsure that this would work nicely under stack. At least, I'm not sure quite what to do with all the package databases and other stuff that stack does for you.
There's cabal-cargs[1] to extract the relevant info for ghc from a cabal file. I don't know how much work it would be to make it stack aware/compatible. Greetings, Daniel [1] https://github.com/dan-t/cabal-cargs