
25 Mar
2013
25 Mar
'13
1:01 p.m.
On Mon, 25 Mar 2013, Andreas Voellmy wrote:
This should work since Cabal-1.14. Can you show, how exactly you added the dependency to the executable?
I included the two source files, A.hsc and B.hs, and the cabal file in my last email. That shows how I add the dependency in the executable section. I have those three files in a single directory.
Your Cabal file does not contain a dependency in the library for the executable. It would look like this: executable B main-is: B.hs build-depends: foo