
#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