fixing typo.
This commit is contained in:
parent
b96a8c6457
commit
bc65c477d0
@ -200,11 +200,11 @@ initializeFlagsWithCradle opt c
|
|||||||
| cabal = withCabal
|
| cabal = withCabal
|
||||||
| otherwise = withSandbox
|
| otherwise = withSandbox
|
||||||
where
|
where
|
||||||
mCradleFile = cradleCabalFile c
|
mCabalFile = cradleCabalFile c
|
||||||
cabal = isJust mCradleFile
|
cabal = isJust mCabalFile
|
||||||
ghcopts = ghcUserOptions opt
|
ghcopts = ghcUserOptions opt
|
||||||
withCabal = do
|
withCabal = do
|
||||||
pkgDesc <- parseCabalFile c $ fromJust mCradleFile
|
pkgDesc <- parseCabalFile c $ fromJust mCabalFile
|
||||||
compOpts <- getCompilerOptions ghcopts c pkgDesc
|
compOpts <- getCompilerOptions ghcopts c pkgDesc
|
||||||
initSession CabalPkg opt compOpts
|
initSession CabalPkg opt compOpts
|
||||||
withSandbox = initSession SingleFile opt compOpts
|
withSandbox = initSession SingleFile opt compOpts
|
||||||
|
Loading…
Reference in New Issue
Block a user