guix-commits
[Top][All Lists]
Advanced

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

04/05: gnu: coq-equations: Adjust '#:make-flags'.


From: guix-commits
Subject: 04/05: gnu: coq-equations: Adjust '#:make-flags'.
Date: Wed, 17 Nov 2021 22:34:14 -0500 (EST)

roptat pushed a commit to branch master
in repository guix.

commit 4423caece69f6142eeff562007ce53b9144de334
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Tue Nov 16 19:51:53 2021 +0100

    gnu: coq-equations: Adjust '#:make-flags'.
    
    * gnu/packages/coq.scm (coq-equations)[arguments]<#:make-flags>: Set install
    destination.
    <#:phases>: Remove replace 'install.
    
    Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
 gnu/packages/coq.scm | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/coq.scm b/gnu/packages/coq.scm
index fc739a0..aeba0eb 100644
--- a/gnu/packages/coq.scm
+++ b/gnu/packages/coq.scm
@@ -547,17 +547,14 @@ uses Ltac to synthesize the substitution operation.")
      `(("ocaml-zarith" ,ocaml-zarith)))
     (arguments
      `(#:test-target "test-suite"
+       #:make-flags (list (string-append "COQLIBINSTALL="
+                                         (assoc-ref %outputs "out")
+                                         "/lib/coq/user-contrib"))
        #:phases
        (modify-phases %standard-phases
          (replace 'configure
            (lambda* (#:key outputs #:allow-other-keys)
-             (invoke "sh" "./configure.sh")))
-         (replace 'install
-           (lambda* (#:key outputs #:allow-other-keys)
-             (invoke "make"
-                     (string-append "COQLIB=" (assoc-ref outputs "out")
-                                    "/lib/coq/")
-                     "install"))))))
+             (invoke "sh" "./configure.sh"))))))
     (home-page "https://mattam82.github.io/Coq-Equations/";)
     (synopsis "Function definition plugin for Coq")
     (description "Equations provides a notation for writing programs



reply via email to

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