guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/06: gnu: coq-coquelicot: Fix for coq 8.8.


From: julien lepiller
Subject: 06/06: gnu: coq-coquelicot: Fix for coq 8.8.
Date: Fri, 4 May 2018 15:31:32 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit 925fe4b3cece17f564c640f536ebcf24c2af2795
Author: Julien Lepiller <address@hidden>
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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]