[Hackage] #394: --package-db flag is not respected for compiling Setup.hs
#394: --package-db flag is not respected for compiling Setup.hs ------------------------------+--------------------------------------------- Reporter: duncan | Owner: Type: defect | Status: new Priority: normal | Milestone: Cabal-1.6 Component: Cabal library | Version: 1.2.3.0 Severity: normal | Keywords: Difficulty: easy (<4 hours) | Ghcversion: 6.8.3 Platform: | ------------------------------+--------------------------------------------- The `--package-db` flag is used to look for installed packages when building packages, however it does not get used when trying to build a custom `Setup.hs` file. It should be. It's handy to be able to use a completely separate package db to be able to say test multiple versions of the Cabal lib and cabal-install separately but in parallel. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/394> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#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@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
participants (1)
-
Hackage