Fix missing liftIO

This commit is contained in:
Daniel Gröber 2015-08-21 04:21:27 +02:00
parent 65b3d78d2f
commit c5db06af0f
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ stackCradle wdir = do
-- If dist/setup-config already exists the user probably wants to use cabal
-- rather than stack, or maybe that's just me ;)
mCabalSetupCfg <- mightExist $ setupConfigPath "dist"
mCabalSetupCfg <- liftIO $ mightExist $ setupConfigPath "dist"
when (isJust mCabalSetupCfg) $ mzero
distDir <- MaybeT $ getStackDistDir cabalDir