[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: gnu: idris: Fix Cabal dependency constraints.
From: |
guix-commits |
Subject: |
03/04: gnu: idris: Fix Cabal dependency constraints. |
Date: |
Tue, 12 Nov 2019 01:48:02 -0500 (EST) |
samplet pushed a commit to branch wip-haskell-updates
in repository guix.
commit d4226c12af7c963341f551ecf26a01d782697739
Author: Timothy Sample <address@hidden>
Date: Mon Nov 11 23:52:47 2019 -0500
gnu: idris: Fix Cabal dependency constraints.
* gnu/packages/idris.scm (idris): Add a phase that updates the Cabal
file to allow for newer versions of 'ansi-terminal'.
---
gnu/packages/idris.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/idris.scm b/gnu/packages/idris.scm
index 7e6ee30..d203421 100644
--- a/gnu/packages/idris.scm
+++ b/gnu/packages/idris.scm
@@ -90,6 +90,11 @@
"-fFFI" "-fGMP")
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'update-constraints
+ (lambda _
+ (substitute* "idris.cabal"
+ (("ansi-terminal < 0\\.9") "ansi-terminal < 0.10"))
+ #t))
(add-before 'configure 'set-cc-command
(lambda _
(setenv "CC" "gcc")