me
/
guix
Archived
1
0
Fork 0

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'.
master
Timothy Sample 2019-11-08 21:56:05 -05:00
parent a54dda095f
commit 24cf2a8b12
No known key found for this signature in database
GPG Key ID: 2AC6A5EC1C357C59
1 changed files with 8 additions and 0 deletions

View File

@ -7570,6 +7570,14 @@ DSLs, etc.")
(base32
"0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
(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
`(("ghc-monads-tf" ,ghc-monads-tf)
("ghc-chell" ,ghc-chell)