gnu: ghc-edit-distance: Replace "--allow-newer" flag.
* gnu/packages/haskell.scm (ghc-edit-distance)[arguments]: Replace "--allow-newer" configure flag with a phase that patches the Cabal file.master
parent
5f4327df7f
commit
d340ee858f
|
@ -6208,7 +6208,13 @@ representations of current time.")
|
||||||
(base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
|
(base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
|
||||||
(build-system haskell-build-system)
|
(build-system haskell-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags (list "--allow-newer=QuickCheck")))
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'configure 'update-constraints
|
||||||
|
(lambda _
|
||||||
|
(substitute* "edit-distance.cabal"
|
||||||
|
(("QuickCheck >= 2\\.4 && <2\\.9")
|
||||||
|
"QuickCheck >= 2.4 && < 2.12")))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("ghc-random" ,ghc-random)
|
`(("ghc-random" ,ghc-random)
|
||||||
("ghc-test-framework" ,ghc-test-framework)
|
("ghc-test-framework" ,ghc-test-framework)
|
||||||
|
|
Loading…
Reference in New Issue