
8 Feb
2013
8 Feb
'13
10 a.m.
Hi, I have been using ghc-mod for a long time and I can’t give it up now, but I have an annoying problem. When I have a cabal file with a library and an executable depending on the library (for example here https://github.com/bitonic/kant/blob/master/kant.cabal), ghc-mod is not happy, complaining in every file that Error:<command line>: cannot satisfy -package kant Where ‘kant’ is the package that the cabal file defines with the library that the executable needs. Note that if I issue ‘cabal configure; cabal build’, everything goes smoothly. Did anybody stumble on the same problem? Thanks, Francesco