Trailing colon on GHC_PACKAGE_PATH doesn't work with ghc-pkg.
According to section 5.8.4.1 of the ''Users' Guide'', appending a colon to GHC_PACKAGE_PATH should include the system libraries, and this can be verified with ghc-pkg. While the colon does appear to work for ghci (as verified with -v), it does not appear to work for ghc-pkg.
$ echo '[]' > temp.conf
$ export GHC_PACKAGE_PATH=`pwd`/temp.conf:
ghc-pkg list
/home/cjs/temp.conf:
$
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Multiple |
Architecture | Unknown |