mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 06:37:08 +01:00
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
1 changed files with 10 additions and 0 deletions
|
@ -7008,6 +7008,16 @@ (define-public ghc-bytestring-handle
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue