From 24cf2a8b1294dd2e2bd87b0ca54b5da5c7bac363 Mon Sep 17 00:00:00 2001 From: Timothy Sample Date: Fri, 8 Nov 2019 21:56:05 -0500 Subject: 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'. --- gnu/packages/haskell-xyz.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 052162b66d..4b092299be 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -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) -- cgit 1.4.1