#217: Main modules in .hsc files are not included in sdist
----------------------------+-----------------------------------------------
Reporter: gwern | Owner:
Type: defect | Status: reopened
Priority: normal | Milestone: Cabal-1.4
Component: Cabal library | Version: 1.2.3.0
Severity: normal | Resolution:
Keywords: | Difficulty: normal
Ghcversion: 6.8.2 | Platform:
----------------------------+-----------------------------------------------
Comment (by [EMAIL PROTECTED]):
Replying to [comment:5 [EMAIL PROTECTED]:
> I suppose you can work around that with
> {{{
> extra-source-files: src/Hslock.hsc
> }}}
Hmm, no that won't work: it will still be looking for the missing .hs
file. Main modules that need preprocessing don't work. There's the
unpleasant workaround of having a trivial Main.hs that calls the other
module, I guess.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/217#comment:6>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel