gnu: ghc-bytestring-handle: Allow newer base and QuickCheck.

* gnu/packages/haskell.scm (ghc-bytestring-handle)[arguments]: Add a phase
that patches the Cabal file to allow newer versions of base and QuickCheck.
This commit is contained in:
Timothy Sample 2018-09-03 21:19:12 -04:00 committed by Ricardo Wurmus
parent d09b2ad428
commit 5e4058ad85
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 10 additions and 0 deletions

View File

@ -7008,6 +7008,16 @@ this problem.")
(base32
"18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
(build-system haskell-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'configure 'update-constraints
(lambda _
(substitute* "bytestring-handle.cabal"
(("QuickCheck >= 2\\.1\\.2 && < 2\\.11")
"QuickCheck >= 2.1.2 && < 2.12")
(("base >= 4\\.2 && < 4\\.11")
"base >= 4.2 && < 4.12")))))))
(inputs
`(("ghc-hunit" ,ghc-hunit)
("ghc-quickcheck" ,ghc-quickcheck)