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:
parent
d09b2ad428
commit
5e4058ad85
|
@ -7008,6 +7008,16 @@ this problem.")
|
||||||
(base32
|
(base32
|
||||||
"18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
|
"18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
|
||||||
(build-system haskell-build-system)
|
(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
|
(inputs
|
||||||
`(("ghc-hunit" ,ghc-hunit)
|
`(("ghc-hunit" ,ghc-hunit)
|
||||||
("ghc-quickcheck" ,ghc-quickcheck)
|
("ghc-quickcheck" ,ghc-quickcheck)
|
||||||
|
|
Loading…
Reference in New Issue