Cleanup
This commit is contained in:
parent
cdc74e059c
commit
f7149ba23f
@ -318,10 +318,11 @@ sandboxOpts crdl = do
|
|||||||
where
|
where
|
||||||
(wdir, rdir) = (cradleCurrentDir crdl, cradleRootDir crdl)
|
(wdir, rdir) = (cradleCurrentDir crdl, cradleRootDir crdl)
|
||||||
|
|
||||||
getSandboxPackageDbStack :: FilePath
|
getSandboxPackageDbStack
|
||||||
-- ^ Project Directory (where the cabal.sandbox.config
|
:: FilePath
|
||||||
-- file would be if it exists)
|
-- ^ Project Directory (where the cabal.sandbox.config file would be if
|
||||||
-> IO [GhcPkgDb]
|
-- it exists)
|
||||||
|
-> IO [GhcPkgDb]
|
||||||
getSandboxPackageDbStack cdir =
|
getSandboxPackageDbStack cdir =
|
||||||
([GlobalDb] ++) . maybe [UserDb] return <$> getSandboxDb cdir
|
([GlobalDb] ++) . maybe [UserDb] return <$> getSandboxDb cdir
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user