gnu: darcs: Fix Cabal dependency constraints.
* gnu/packages/haskell-apps.scm (darcs): Update the Cabal file to r1 and change the phase that updates the Cabal file to allow for newer versions of 'QuickCheck'.
This commit is contained in:
parent
b867c2b051
commit
0710797d30
|
@ -187,7 +187,9 @@ (define-public darcs
|
||||||
#t))))
|
#t))))
|
||||||
(build-system haskell-build-system)
|
(build-system haskell-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("-fpkgconfig" "-fcurl" "-flibiconv" "-fthreaded"
|
`(#:cabal-revision
|
||||||
|
("1" "0xl7j5cm704pbl2ms0dkydh7jvrz0ym76d725ifpg4h902m1zkhg")
|
||||||
|
#:configure-flags '("-fpkgconfig" "-fcurl" "-flibiconv" "-fthreaded"
|
||||||
"-fnetwork-uri" "-fhttp" "--flag=executable"
|
"-fnetwork-uri" "-fhttp" "--flag=executable"
|
||||||
"--flag=library")
|
"--flag=library")
|
||||||
#:phases
|
#:phases
|
||||||
|
@ -196,6 +198,12 @@ (define-public darcs
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "tests/issue538.sh"
|
(substitute* "tests/issue538.sh"
|
||||||
(("/bin/sh") (which "sh")))
|
(("/bin/sh") (which "sh")))
|
||||||
|
#t))
|
||||||
|
(add-before 'configure 'update-constraints
|
||||||
|
(lambda _
|
||||||
|
(substitute* "darcs.cabal"
|
||||||
|
(("QuickCheck >= 2\\.8\\.2 && < 2\\.13,")
|
||||||
|
"QuickCheck >= 2.8.2 && < 2.14,"))
|
||||||
#t)))))
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("ghc-cmdargs" ,ghc-cmdargs)
|
`(("ghc-cmdargs" ,ghc-cmdargs)
|
||||||
|
|
Loading…
Reference in a new issue