[Haskell-beginners] Cabal modules and directories
errantkid at gmail.com
Wed Mar 3 13:57:13 EST 2010
I'm sorry because this is a very elementary question but despite my attempts
I can't seem to get cabal working for my project structure.
I have two main source directories:
Inside src\haskell I have main.hs with the module Main.
Inside src\semanticdb I have semanticdb.hs with module OSIX.SemanticDB
My cabal file contains the following 3 lines:
hs-source-dirs: src/haskell src/semanticdb
Then when I build with 'cabal build' I get the following error:
cabal: can't find source for OSIX.SemanticDB in src/haskell,
cabal --version gives:
cabal-install version 0.6.4
using version 188.8.131.52 of the Cabal library
I'd prefer to keep my directory structure as is if possible, but it doesn't
seem to be working for me... Is there anything I can do or should I just
restructure the directories?
(NOTE: I'm using leksah as my IDE, so the cabal file is mostly generated
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners