gnu: coq-coquelicot: Fix for coq 8.8.

* gnu/packages/ocaml.scm (coq-coquelicot)[arguments]: New phase to
remove a deprecated command.
master
Julien Lepiller 2018-05-04 21:07:23 +02:00
parent 066d05f083
commit 925fe4b3ce
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 6 additions and 0 deletions

View File

@ -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"