[Hackage] #368: The "optimization" option in ~/.cabal/config does not work

#368: The "optimization" option in ~/.cabal/config does not work ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.4.0.1 Severity: minor | Keywords: Difficulty: normal | Ghcversion: 6.8.2 Platform: Linux | ---------------------------------+------------------------------------------ Running cabal install $package with "optimization: True" uncommented in ~/.cabal/config results in an error: cabal: Command.optionToFieldDescr: feature not implemented -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/368 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#368: The "optimization" option in ~/.cabal/config does not work ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: cabal-install-0.8 Component: cabal-install tool | Version: 1.4.0.1 Severity: minor | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.2 | Platform: Linux ---------------------------------+------------------------------------------ Changes (by duncan): * milestone: => cabal-install-0.8 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/368#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#368: The "optimization" option in ~/.cabal/config does not work ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: cabal-install-0.8 Component: cabal-install tool | Version: 1.4.0.1 Severity: minor | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.2 | Platform: Linux ---------------------------------+------------------------------------------ Comment (by guest): Replying to [ticket:368 guest]:
Running cabal install $package with "optimization: True" uncommented in ~/.cabal/config results in an error:
cabal: Command.optionToFieldDescr: feature not implemented
Using optimisation: True instead of optimization: True in ~/.cabal/config works! So the only thing that's broken is the code which generates the default ~/.cabal/config with the line -- optimization: True -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/368#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#368: The "optimization" option in ~/.cabal/config does not work ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: cabal-install-0.8 Component: cabal-install tool | Version: 1.4.0.1 Severity: minor | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.2 | Platform: Linux ---------------------------------+------------------------------------------ Comment (by duncan): Replying to [comment:2 guest]:
Using
optimisation: True
instead of
optimization: True
in ~/.cabal/config works!
Does it? I get: {{{ ~/.cabal/config: Unrecognized field optimisation on line 22 }}} That's just a warning so it looks like it works but really its just ignored the line completely. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/368#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage