jailbreak-cabal 1.3 → 1.3.1
raw patch · 2 files changed
+5/−3 lines, 2 filesdep ~Cabal
Dependency ranges changed: Cabal
Files
- Main.hs +2/−0
- jailbreak-cabal.cabal +3/−3
Main.hs view
@@ -11,6 +11,8 @@ main :: IO () main = getArgs >>= mapM_ (\cabalFile -> readPackageDescription silent cabalFile >>= writeGenericPackageDescription cabalFile . stripVersionRestrictions) +-- We don't relax version restrictions inside conditional statements.+-- See https://github.com/peti/jailbreak-cabal/commit/99eac40deb481b185fd93fd307625369ff5e1ec0 stripVersionRestrictions :: GenericPackageDescription -> GenericPackageDescription stripVersionRestrictions pkg = pkg { condLibrary = fmap relaxLibraryTree (condLibrary pkg) , condExecutables = map (fmap relaxExeTree) (condExecutables pkg)
jailbreak-cabal.cabal view
@@ -1,5 +1,5 @@ Name: jailbreak-cabal-Version: 1.3+Version: 1.3.1 Synopsis: Strip version restrictions from build dependencies in Cabal files. License: BSD3 License-file: LICENSE@@ -9,7 +9,7 @@ Category: Distribution Build-type: Simple Cabal-version: >= 1.6-Tested-with: GHC >= 6.10.4 && <= 7.10.1+Tested-with: GHC >= 6.10.4 && <= 8.0.1 Description: Strip version restrictions from build dependencies in Cabal files. Source-Repository head@@ -18,4 +18,4 @@ Executable jailbreak-cabal Main-is: Main.hs- Build-depends: base >= 3 && < 5, Cabal > 1.18+ Build-depends: base >= 3 && < 5, Cabal == 1.20.* || >= 1.23