[Hackage] #394: --package-db flag is not respected for compiling Setup.hs

Hackage trac at galois.com
Sun Dec 21 18:08:55 EST 2008


#394: --package-db flag is not respected for compiling Setup.hs
----------------------------+-----------------------------------------------
  Reporter:  duncan         |        Owner:                 
      Type:  defect         |       Status:  closed         
  Priority:  normal         |    Milestone:  Cabal-1.8      
 Component:  Cabal library  |      Version:  1.2.3.0        
  Severity:  normal         |   Resolution:  fixed          
  Keywords:                 |   Difficulty:  easy (<4 hours)
Ghcversion:  6.8.3          |     Platform:                 
----------------------------+-----------------------------------------------
Changes (by duncan):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  Cabal-1.6 => Cabal-1.8

Comment:

 {{{
 Sun Dec 21 18:47:55 GMT 2008  Duncan Coutts <duncan at haskell.org>
   * Respect the --package-db flag when compiling Setup.hs
   Fixes ticket #394.
 }}}

 However note that when using a separate package db then we will not look
 in the user package db for the Cabal lib.

 We probably should but that requires more changes to the way we handle
 package dbs. See #437.

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


More information about the cabal-devel mailing list