[Hackage] #379: compiler directive of cabal-install's config file is case sensitive

Hackage trac at galois.com
Mon Jan 12 13:58:27 EST 2009


#379: compiler directive of cabal-install's config file is case sensitive
---------------------------------+------------------------------------------
  Reporter:  phigley             |        Owner:         
      Type:  defect              |       Status:  new    
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.2.3.0
  Severity:  normal              |   Resolution:         
  Keywords:                      |   Difficulty:  normal 
Ghcversion:  6.8.3               |     Platform:  Mac OS 
---------------------------------+------------------------------------------
Comment (by duncan):

 This is a more tricky problem than it looks. The reason is we're now
 parsing the config file by converting the command line parser. It has
 flags for `--ghc`, `--hugs` etc and is case sensitive. Really we'd like a
 config field flag parsed using the `Text` instance for `CompilerFlavor`
 because that is not case sensitive.

 Doing this properly involves rewriting the command line option / config
 file field description subsystem.

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


More information about the cabal-devel mailing list