Fix missing liftIO
This commit is contained in:
parent
65b3d78d2f
commit
c5db06af0f
@ -83,7 +83,7 @@ stackCradle wdir = do
|
|||||||
|
|
||||||
-- If dist/setup-config already exists the user probably wants to use cabal
|
-- If dist/setup-config already exists the user probably wants to use cabal
|
||||||
-- rather than stack, or maybe that's just me ;)
|
-- rather than stack, or maybe that's just me ;)
|
||||||
mCabalSetupCfg <- mightExist $ setupConfigPath "dist"
|
mCabalSetupCfg <- liftIO $ mightExist $ setupConfigPath "dist"
|
||||||
when (isJust mCabalSetupCfg) $ mzero
|
when (isJust mCabalSetupCfg) $ mzero
|
||||||
|
|
||||||
distDir <- MaybeT $ getStackDistDir cabalDir
|
distDir <- MaybeT $ getStackDistDir cabalDir
|
||||||
|
Loading…
Reference in New Issue
Block a user