packages feed

ghc-paths 0.1.0.7 → 0.1.0.8

raw patch · 2 files changed

+5/−5 lines, 2 filessetup-changedPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- GHC.Paths: docdir :: FilePath
- GHC.Paths: ghc :: FilePath
- GHC.Paths: ghc_pkg :: FilePath
- GHC.Paths: libdir :: FilePath
+ GHC.Paths: libdir, ghc_pkg, ghc, docdir :: FilePath

Files

Setup.hs view
@@ -4,7 +4,7 @@ import Distribution.Simple.LocalBuildInfo import Distribution.InstalledPackageInfo import Distribution.Simple.Program-import Distribution.Simple.PackageIndex as Pkg+import qualified Distribution.Simple.PackageIndex as Pkg  import System.Exit import System.IO@@ -37,9 +37,9 @@                           Nothing -> error "ghc was not found"            -- figure out docdir from base's haddock-html field-          base_pkg = case searchByName (installedPkgs lbi) "base" of-                        None -> error "no base package"-                        Unambiguous (x:_) -> x+          base_pkg = case Pkg.searchByName (installedPkgs lbi) "base" of+                        Pkg.None -> error "no base package"+                        Pkg.Unambiguous (x:_) -> x                         _ -> error "base ambiguous"           base_html = case haddockHTMLs base_pkg of                         [] -> ""
ghc-paths.cabal view
@@ -1,5 +1,5 @@ name: ghc-paths-version: 0.1.0.7+version: 0.1.0.8 license: BSD3 license-file: LICENSE copyright: (c) Simon Marlow