Ticket #335 (closed defect: fixed)
GHC_PACKAGE_PATH disrespected
| Reported by: | cjs | Owned by: | kmcallister |
|---|---|---|---|
| Priority: | normal | Milestone: | Cabal-1.8 |
| Component: | Cabal library | Version: | 1.2.3.0 |
| Severity: | normal | Keywords: | |
| Cc: | Difficulty: | very easy (<1 hour) | |
| GHC Version: | 6.8.3 | Platform: | Other Unix |
Description
Looks like cabal doesn't even use GHC_PACKAGE_PATH at all.
$ unset GHC_PACKAGE_PATH
$ ghc-pkg list binary
/usr/pkg/lib/ghc-6.8.3/package.conf:
$ export GHC_PACKAGE_PATH=/my/package.conf:/usr/pkg/lib/ghc-6.8.3/package.conf
$ ghc-pkg list binary
/usr/pkg/lib/ghc-6.8.3/package.conf:
/my/package.conf:
binary-0.4.1
$ runghc Setup.hs configure
Configuring mypackage-1.0...
Setup.hs: At least the following dependencies are missing:
binary -any
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

