[Hackage] #424: build-depends in global section in new-style .cabal files are ignored

Hackage trac at galois.com
Wed Dec 3 12:22:11 EST 2008


#424: build-depends in global section in new-style .cabal files are ignored
----------------------------+-----------------------------------------------
  Reporter:  duncan         |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.6.0.1
  Severity:  normal         |     Keywords:         
Difficulty:  normal         |   Ghcversion:  6.8.3  
  Platform:                 |  
----------------------------+-----------------------------------------------
 http://hpaste.org/12669

 In a .cabal file like:

 {{{
 name:          music
 version:       0.0
 cabal-version: >= 1.2
 build-type:    Simple
 build-depends: base == 4

 library
   exposed-modules:
     Music
 }}}

 which uses new-style syntax but puts the build-depends in the global
 section, the build-depends get ignored.

 It should either warn or reject this, or it should automatically propagate
 such global options into each buildable component.

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


More information about the cabal-devel mailing list