mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
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'.
This commit is contained in:
parent
8e41d38afd
commit
3594b6699d
1 changed files with 5 additions and 0 deletions
|
@ -90,6 +90,11 @@ (define-public idris
|
||||||
"-fFFI" "-fGMP")
|
"-fFFI" "-fGMP")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(add-before 'configure 'set-cc-command
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "CC" "gcc")
|
(setenv "CC" "gcc")
|
||||||
|
|
Loading…
Reference in a new issue