gnu: ghc-options: Fix Cabal dependency constraints.
* gnu/packages/haskell-xyz.scm (ghc-options): Add a phase that updates the Cabal file to allow for newer versions of 'chell'.
This commit is contained in:
parent
a54dda095f
commit
24cf2a8b12
1 changed files with 8 additions and 0 deletions
|
@ -7570,6 +7570,14 @@ DSLs, etc.")
|
||||||
(base32
|
(base32
|
||||||
"0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
|
"0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
|
||||||
(build-system haskell-build-system)
|
(build-system haskell-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'configure 'update-constraints
|
||||||
|
(lambda _
|
||||||
|
(substitute* "options.cabal"
|
||||||
|
(("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4 && < 0.6"))
|
||||||
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("ghc-monads-tf" ,ghc-monads-tf)
|
`(("ghc-monads-tf" ,ghc-monads-tf)
|
||||||
("ghc-chell" ,ghc-chell)
|
("ghc-chell" ,ghc-chell)
|
||||||
|
|
Reference in a new issue