diff --git a/cabal-install/src/Distribution/Client/ProjectConfig.hs b/cabal-install/src/Distribution/Client/ProjectConfig.hs index 25c28950f48..b6a8f1f3895 100644 --- a/cabal-install/src/Distribution/Client/ProjectConfig.hs +++ b/cabal-install/src/Distribution/Client/ProjectConfig.hs @@ -761,8 +761,15 @@ readProjectFileSkeleton readExtensionFile = reportParseResult verbosity extensionDescription extensionFile - =<< parseProjectSkeleton distDownloadSrcDirectory httpTransport verbosity [] extensionFile - =<< (fmap (0,) $ BS.readFile extensionFile) + =<< ( parseProjectSkeleton + distDownloadSrcDirectory + httpTransport + verbosity + [] + extensionFile + . (0,) + ) + =<< BS.readFile extensionFile -- | Render the 'ProjectConfig' format. --