From dcfb99d4cb88e210ecdf07e4a32914b0eef9949f Mon Sep 17 00:00:00 2001 From: Timothy Sample Date: Thu, 31 Oct 2019 12:55:37 -0400 Subject: gnu: ghc-system-fileio: Update to 0.3.16.4. * gnu/packages/haskell-xyz.scm (ghc-system-fileio): Update to 0.3.16.4. [arguments]: Add a phase that updates the Cabal file to allow for newer versions of 'chell'. --- gnu/packages/haskell-xyz.scm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 360fbec509..946948be99 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -10002,7 +10002,7 @@ (define-public ghc-syb (define-public ghc-system-fileio (package (name "ghc-system-fileio") - (version "0.3.16.3") + (version "0.3.16.4") (source (origin (method url-fetch) @@ -10011,8 +10011,16 @@ (define-public ghc-system-fileio version ".tar.gz")) (sha256 (base32 - "1484hcl27s2qcby8ws5djj11q9bz68bspcifz9h5gii2ndy70x9i")))) + "1iy6g1f35gzyj12g9mdiw4zf75mmxpv1l8cyaldgyscsl648pr9l")))) (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'update-constraints + (lambda _ + (substitute* "system-fileio.cabal" + (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4")) + #t))))) (inputs `(("ghc-system-filepath" ,ghc-system-filepath) ("ghc-chell" ,ghc-chell) -- cgit v1.2.3