[Hackage] #734: support multiple .cabal files

Hackage cvs-ghc at haskell.org
Mon Nov 7 14:19:25 CET 2011


#734: support multiple .cabal files
----------------------------------+-----------------------------------------
  Reporter:  guest                |        Owner:     
      Type:  enhancement          |       Status:  new
  Priority:  normal               |    Milestone:     
 Component:  Cabal library        |      Version:     
  Severity:  normal               |     Keywords:     
Difficulty:  very hard (<1 week)  |   Ghcversion:     
  Platform:                       |  
----------------------------------+-----------------------------------------
Changes (by duncan):

  * difficulty:  unknown => very hard (<1 week)
  * component:  cabal-install tool => Cabal library


Comment:

 Unfortunately this is harder than it looks. The underlying Cabal build
 system interface does not allow for multiple .cabal files in a directory.
 Also, they would all need to share the same Setup.hs.

 The simple approach would be to tell the build system which .cabal file to
 look at. Another would be to allow the single build system to see all the
 .cabal files and build all the components.
 Either approach will require an update to the Cabal build system interface
 spec.

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



More information about the cabal-devel mailing list