packages feed

shake-ext 2.0.0.1 → 2.0.0.2

raw patch · 2 files changed

+2/−3 lines, 2 files

Files

shake-ext.cabal view
@@ -1,5 +1,5 @@ name:                shake-ext-version:             2.0.0.1+version:             2.0.0.2 synopsis:            Helper functions for linting with shake  description:         This package provides several linters out of the box, for use with [shake](http://shakebuild.com/). homepage:            https://hub.darcs.net/vmchale/shake-ext
src/Development/Shake/Cabal.hs view
@@ -28,8 +28,7 @@ -- | Same as above, but we set the 'Verbosity' to be used during parsing. getCabalDepsV :: Verbosity -> FilePath -> IO [FilePath] getCabalDepsV v p = do-    contents <- readFile p-    pkg <- readGenericPackageDescription v contents+    pkg <- readGenericPackageDescription v p     let extraSrc = extraSrcFiles $ packageDescription pkg         libs = toList (condLibrary pkg)         normalSrc = (libraryToFiles <=< extract) =<< libs