handling multiple package names from ghc-pkg find-module.
This commit is contained in:
parent
a47d77fb2f
commit
983fc68f5b
@ -24,4 +24,4 @@ pkgDoc cradle mdl = do
|
|||||||
where
|
where
|
||||||
toModuleOpts = ["find-module", mdl, "--simple-output"] ++ userPackageDbOptsForGhcPkg (cradlePackageDb cradle)
|
toModuleOpts = ["find-module", mdl, "--simple-output"] ++ userPackageDbOptsForGhcPkg (cradlePackageDb cradle)
|
||||||
toDocDirOpts pkg = ["field", pkg, "haddock-html"] ++ userPackageDbOptsForGhcPkg (cradlePackageDb cradle)
|
toDocDirOpts pkg = ["field", pkg, "haddock-html"] ++ userPackageDbOptsForGhcPkg (cradlePackageDb cradle)
|
||||||
trim = takeWhile (/= '\n')
|
trim = takeWhile (`notElem` " \n")
|
||||||
|
Loading…
Reference in New Issue
Block a user