guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: coq-autosubst: Adjust '#:make-flags'.


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

roptat pushed a commit to branch master
in repository guix.

commit 5d7d64ff8567abb32defbf00038fab789353a8d5
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Tue Nov 16 19:51:52 2021 +0100

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

diff --git a/gnu/packages/coq.scm b/gnu/packages/coq.scm
index 602a2d3..fc739a0 100644
--- a/gnu/packages/coq.scm
+++ b/gnu/packages/coq.scm
@@ -502,16 +502,12 @@ Coq proof assistant.")
       (build-system gnu-build-system)
       (arguments
        `(#:tests? #f
+       #:make-flags (list (string-append "COQLIBINSTALL="
+                                         (assoc-ref %outputs "out")
+                                         "/lib/coq/user-contrib"))
          #:phases
          (modify-phases %standard-phases
-           (delete 'configure)
-           (replace 'install
-             (lambda* (#:key outputs #:allow-other-keys)
-               (setenv "COQLIB" (string-append (assoc-ref outputs "out") 
"/lib/coq/"))
-               (invoke "make"
-                       (string-append "COQLIB=" (assoc-ref outputs "out")
-                                      "/lib/coq/")
-                       "install"))))))
+           (delete 'configure))))
       (native-inputs
        `(("coq" ,coq)))
       (home-page "https://www.ps.uni-saarland.de/autosubst/";)



reply via email to

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