diff options
author | Ian Lynagh <igloo@earth.li> | 2011-06-19 16:45:17 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-06-19 16:45:17 +0100 |
commit | 089cc2928c8c0e8107448e62b29b6392a1abe30f (patch) | |
tree | e17f3ceb036791969ebc6d3c9c787572752db025 /utils/ghc-pkg | |
parent | d61fd38b35c72354e4e5d06a6a29274777e7dc06 (diff) | |
download | haskell-089cc2928c8c0e8107448e62b29b6392a1abe30f.tar.gz |
Fix ghc-pkg's quoting of the pkgroot field
Diffstat (limited to 'utils/ghc-pkg')
-rw-r--r-- | utils/ghc-pkg/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs index 5e918a36f1..14664a8ada 100644 --- a/utils/ghc-pkg/Main.hs +++ b/utils/ghc-pkg/Main.hs @@ -1093,7 +1093,7 @@ doDump expand_pkgroot pkgs = do else showInstalledPackageInfo pkg ++ pkgrootField | (pkg, pkgloc) <- pkgs , let pkgroot = takeDirectory pkgloc - pkgrootField = "pkgroot: " ++ pkgroot ++ "\n" ] + pkgrootField = "pkgroot: " ++ show pkgroot ++ "\n" ] -- PackageId is can have globVersion for the version findPackages :: PackageDBStack -> PackageArg -> IO [InstalledPackageInfo] |