gnu: coq-coquelicot: Fix for coq 8.8.

* gnu/packages/ocaml.scm (coq-coquelicot)[arguments]: New phase to
remove a deprecated command.
This commit is contained in:
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

View file

@ -4034,6 +4034,12 @@ (define-public coq-coquelicot
"/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"