GHC_SEARCH_PATH broken
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.
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |