[Hackage] #217: Main modules in .hsc files are not included in
sdist
Hackage
trac at galois.com
Sat Jan 26 13:51:26 EST 2008
#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 ross at soi.city.ac.uk):
Replying to [comment:5 ross at soi.city.ac.uk]:
> 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
More information about the cabal-devel
mailing list