roptat pushed a commit to branch master
in repository guix.
commit 925fe4b3cece17f564c640f536ebcf24c2af2795
Author: Julien Lepiller <[email protected]>
Date: Fri May 4 21:07:23 2018 +0200
gnu: coq-coquelicot: Fix for coq 8.8.
* gnu/packages/ocaml.scm (coq-coquelicot)[arguments]: New phase to
remove a deprecated command.
---
gnu/packages/ocaml.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index c401d4a..c55276a 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4034,6 +4034,12 @@ part of the distribution.")
"/lib/coq/user-contrib/Coquelicot"))
#:phases
(modify-phases %standard-phases
+ (add-before 'configure 'fix-coq8.8
+ (lambda _
+ ; appcontext has been removed from coq 8.8
+ (substitute* "theories/AutoDerive.v"
+ (("appcontext") "context"))
+ #t))
(add-before 'configure 'fix-remake
(lambda _
(substitute* "remake.cpp"