[Hackage] #328: cabal-install passing --distpref to Setup.hs compiled with older Cabal lib

Hackage trac at galois.com
Tue Aug 19 07:36:56 EDT 2008


#328: cabal-install passing --distpref to Setup.hs compiled with older Cabal lib
---------------------------------+------------------------------------------
  Reporter:  duncan              |        Owner:        
      Type:  defect              |       Status:  new   
  Priority:  normal              |    Milestone:        
 Component:  cabal-install tool  |      Version:  HEAD  
  Severity:  normal              |   Resolution:        
  Keywords:                      |   Difficulty:  normal
Ghcversion:  6.8.2               |     Platform:        
---------------------------------+------------------------------------------
Comment (by duncan):

 Replying to [comment:2 dreixel]:

 > Additionally, I found out that this problem no longer occurs after I
 upgraded to GHC 6.8.3 (from 6.8.2) and reinstalled Cabal and cabal-
 install...

 Yes, the reason for that is that you would then have Cabal-1.4.x installed
 and cabal-install will prefer to compile Setup.hs scripts using that
 version. Previously it was forced to use a 1.2.x version of the Cabal
 library (which does not understand `--distpref`).

 Still, it is supposed to work with older versions of the lib by omitting
 parameters if necessary. So I'll have to work out why it's passing the
 default distpref rather than empty.

 Are you using the released cabal-install-0.5.1 or the darcs version?

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


More information about the cabal-devel mailing list