[Hackage] #379: compiler directive of cabal-install's config
file is case sensitive
Hackage
trac at galois.com
Thu Jan 15 19:39:25 EST 2009
#379: compiler directive of cabal-install's config file is case sensitive
---------------------------------+------------------------------------------
Reporter: phigley | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: cabal-install tool | Version: 1.2.3.0
Severity: normal | Resolution: fixed
Keywords: | Difficulty: normal
Ghcversion: 6.8.3 | Platform: Mac OS
---------------------------------+------------------------------------------
Changes (by duncan):
* status: new => closed
* resolution: => fixed
Comment:
Fixed with a bit of a hack:
{{{
Fri Jan 16 00:28:51 GMT 2009 Duncan Coutts <duncan at haskell.org>
* Parse compiler field from old config files correctly
Really old versions of cabal-install generated a default config
containing "compiler: GHC". Sadly the new way we generate the
config file parser from the command line parser means we end up
with a case-sensitive parser as it only matches the exact
command line flags. So we hack it and add in a traditional
parser for that field only. Really the command line and config
file infrastructure needs rewriting again. Sigh.
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/379#comment:2>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list