This commit is contained in:
Daniel Gröber 2015-08-24 15:11:05 +02:00
parent c5db06af0f
commit 85722ab6f2

View File

@ -83,8 +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 <- liftIO $ mightExist $ setupConfigPath "dist" whenM (liftIO $ doesFileExist $ setupConfigPath "dist") $ mzero
when (isJust mCabalSetupCfg) $ mzero
distDir <- MaybeT $ getStackDistDir cabalDir distDir <- MaybeT $ getStackDistDir cabalDir