[Hackage] #315: cabal-install (0.5.1) tool options are reversed

Hackage trac at galois.com
Wed Jul 30 09:05:52 EDT 2008


#315: cabal-install (0.5.1) tool options are reversed
---------------------------------+------------------------------------------
  Reporter:  guest               |        Owner:         
      Type:  defect              |       Status:  new    
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.4.0.1
  Severity:  normal              |     Keywords:         
Difficulty:  normal              |   Ghcversion:  6.8.2  
  Platform:                      |  
---------------------------------+------------------------------------------
 When passing tool options to cabal, such as in "cabal configure --user
 --c2hs-options='-C -xc -c cpp-4.2'", building with -v shows that the
 options are passed to c2hs in reverse order, and the build fails.

 Reversing them before passing them to cabal makes the build work;
 meanwhile, if Setup.hs is invoked directly the options are not reversed.

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


More information about the cabal-devel mailing list