pantry 0.4.0.1 → 0.4.0.2
raw patch · 3 files changed
+9/−5 lines, 3 filesdep ~CabalPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: Cabal
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- pantry.cabal +4/−4
- src/Pantry/Tree.hs +1/−1
ChangeLog.md view
@@ -1,5 +1,9 @@ # Changelog for pantry +## v0.4.0.2++* Allow building with Cabal-3.2.*+ ## v0.4.0.1 * Removed errant log message
pantry.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: ce880f32030c524a97504445e34d07894a13fae3a9f59fe39fdbb48108eaad70+-- hash: cb17eb4ba27f5fad8ef492276362b6be7533e390279b5e6a857fa89a753da4a1 name: pantry-version: 0.4.0.1+version: 0.4.0.2 synopsis: Content addressable Haskell package management description: Please see the README on Github at <https://github.com/commercialhaskell/pantry#readme> category: Development@@ -55,7 +55,7 @@ src/ ghc-options: -Wall build-depends:- Cabal >=3 && <3.1+ Cabal >=3 && <3.3 , aeson , ansi-terminal , base >=4.10 && <5@@ -133,7 +133,7 @@ test ghc-options: -Wall build-depends:- Cabal >=3 && <3.1+ Cabal >=3 && <3.3 , QuickCheck , aeson , ansi-terminal
src/Pantry/Tree.hs view
@@ -52,7 +52,7 @@ -> m ([PWarning], GenericPackageDescription) rawParseGPD loc bs = case eres of- Left (mversion, errs) -> throwM $ InvalidCabalFile loc mversion errs warnings+ Left (mversion, errs) -> throwM $ InvalidCabalFile loc mversion (toList errs) warnings Right gpkg -> return (warnings, gpkg) where (warnings, eres) = runParseResult $ parseGenericPackageDescription bs