Ticket #2829 (closed bug: worksforme)
GHC_SEARCH_PATH broken
| Reported by: | droundy | Owned by: | |
|---|---|---|---|
| Priority: | lowest | Milestone: | 6.10.2 |
| Component: | Compiler | Version: | 6.10.1 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
This bug is present in at least ghc 6.8.2 and ghc 6.10.1. According to the documentation:
http://www.haskell.org/ghc/docs/6.10.1/html/users_guide/packages.html#ghc-package-path
One should be able to specify an environment variable like GHC_PACKAGE_PATH=$HOME/foo: in order to add the file foo to the search path. Instead, the search path is completely replaced--which seems unlikely to be the desired behavior, besides being contrary to the documentation.
This feature works fine, however, in ghc 6.6.1.
Change History
Note: See
TracTickets for help on using
tickets.
