[Hackage] #773: Default value for flag ignored, but explicit flag assignment is honored

Hackage cvs-ghc at haskell.org
Fri Dec 3 05:05:29 CET 2010


#773: Default value for flag ignored, but explicit flag assignment is honored
----------------------------+-----------------------------------------------
  Reporter:  guest          |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.8.0.6
  Severity:  normal         |     Keywords:         
Difficulty:  unknown        |   Ghcversion:         
  Platform:                 |  
----------------------------+-----------------------------------------------
 In a cabal file, I specify the default value of a flag as True. When
 Setup.hs configure is invoked without an option, Setup.hs configure uses
 the value false! The bug only seems to occur when the body of the
 conditional has a Build-Depends assignment.

 The attachments contain a transcript that demonstrates the problem and the
 package used to demonstrate the problem.

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



More information about the cabal-devel mailing list