ghc-pkg, package database path containing a trailing slash, and ${pkgroot}

Ben Gamari ben at
Thu Jun 16 09:55:41 UTC 2016

Nicolas Dudebout <nicolas.dudebout at> writes:

> When passing a package database to ghc-pkg via GHC_PACKAGE_PATH or
> --package-db, ${pkgroot} does not get computed properly if the input path
> contains a trailing slash.
Thanks for the report, Nicolas. I've opened #12196 to track this and
proposed a fix in D2336.


- Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <>

More information about the ghc-devs mailing list