jailbreak-cabal 1.2 → 1.3
raw patch · 2 files changed
+3/−6 lines, 2 filesdep ~Cabal
Dependency ranges changed: Cabal
Files
- Main.hs +2/−5
- jailbreak-cabal.cabal +1/−1
Main.hs view
@@ -13,13 +13,10 @@ stripVersionRestrictions :: GenericPackageDescription -> GenericPackageDescription stripVersionRestrictions pkg = pkg { condLibrary = fmap relaxLibraryTree (condLibrary pkg)- , condExecutables = map relaxTree (condExecutables pkg)- , condTestSuites = map relaxTree (condTestSuites pkg)+ , condExecutables = map (fmap relaxExeTree) (condExecutables pkg)+ , condTestSuites = map (fmap relaxTestTree) (condTestSuites pkg) } where- relaxTree :: (t, CondTree v [Dependency] a) -> (t, CondTree v [Dependency] a)- relaxTree (string,condTree) = (string, relaxTreeConstraints condTree)- relaxTreeConstraints :: CondTree v [Dependency] a -> CondTree v [Dependency] a relaxTreeConstraints ct = ct { condTreeConstraints = map relax (condTreeConstraints ct) }
jailbreak-cabal.cabal view
@@ -1,5 +1,5 @@ Name: jailbreak-cabal-Version: 1.2+Version: 1.3 Synopsis: Strip version restrictions from build dependencies in Cabal files. License: BSD3 License-file: LICENSE