[Hackage] #217: Main modules in .hsc files are not included in sdist

Hackage trac at galois.com
Sat Jan 26 13:43:21 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:           
----------------------------+-----------------------------------------------
Changes (by ross at soi.city.ac.uk):

  * summary:  .hsc files do not get processed for cabal sdist? => Main
              modules in .hsc files are not included in sdist

Comment:

 Sorry, I missed that.

 It looks like the fix for #14 is incomplete, as Duncan says.  I think that
 the .hs source files will be included in the source bundle without needing
 to be mentioned in extra-source-files.  The bug is that the .hsc source
 file is not also included.  I suppose you can work around that with
 {{{
 extra-source-files: src/Hslock.hsc
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/217#comment:5>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list