Commit 089cc292 authored by Ian Lynagh's avatar Ian Lynagh

Fix ghc-pkg's quoting of the pkgroot field

parent d61fd38b
...@@ -1093,7 +1093,7 @@ doDump expand_pkgroot pkgs = do ...@@ -1093,7 +1093,7 @@ doDump expand_pkgroot pkgs = do
else showInstalledPackageInfo pkg ++ pkgrootField else showInstalledPackageInfo pkg ++ pkgrootField
| (pkg, pkgloc) <- pkgs | (pkg, pkgloc) <- pkgs
, let pkgroot = takeDirectory pkgloc , let pkgroot = takeDirectory pkgloc
pkgrootField = "pkgroot: " ++ pkgroot ++ "\n" ] pkgrootField = "pkgroot: " ++ show pkgroot ++ "\n" ]
-- PackageId is can have globVersion for the version -- PackageId is can have globVersion for the version
findPackages :: PackageDBStack -> PackageArg -> IO [InstalledPackageInfo] findPackages :: PackageDBStack -> PackageArg -> IO [InstalledPackageInfo]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment