Trailing colon on GHC_PACKAGE_PATH doesn't work with ghc-pkg.
|Reported by:||cjs||Owned by:||simonmar|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
According to section 126.96.36.199 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: $