Letting "ghc-mod dumpsym" work on non-cabal directories.
This commit is contained in:
parent
607919e815
commit
d045001eb7
@ -54,14 +54,14 @@ plainCradle wdir = return Cradle {
|
|||||||
cradleCurrentDir = wdir
|
cradleCurrentDir = wdir
|
||||||
, cradleRootDir = wdir
|
, cradleRootDir = wdir
|
||||||
, cradleCabalFile = Nothing
|
, cradleCabalFile = Nothing
|
||||||
, cradlePkgDbStack = [GlobalDb]
|
, cradlePkgDbStack = [GlobalDb, UserDb]
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Just for testing
|
-- Just for testing
|
||||||
findCradleWithoutSandbox :: IO Cradle
|
findCradleWithoutSandbox :: IO Cradle
|
||||||
findCradleWithoutSandbox = do
|
findCradleWithoutSandbox = do
|
||||||
cradle <- findCradle
|
cradle <- findCradle
|
||||||
return cradle { cradlePkgDbStack = [GlobalDb]}
|
return cradle { cradlePkgDbStack = [GlobalDb]} -- FIXME
|
||||||
|
|
||||||
----------------------------------------------------------------
|
----------------------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user