all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: 51896@debbugs.gnu.org
Cc: julien@lepiller.eu, zimoun <zimon.toutoune@gmail.com>
Subject: [bug#51896] [PATCH v2 2/5] gnu: coq-mathcomp: Adjust '#:make-flags'.
Date: Tue, 16 Nov 2021 19:51:51 +0100	[thread overview]
Message-ID: <20211116185154.22062-2-zimon.toutoune@gmail.com> (raw)
In-Reply-To: <20211116185154.22062-1-zimon.toutoune@gmail.com>

* gnu/packages/coq.scm (coq-mathcomp)[arguments]<#:make-flags>: Set install
destination.
<#:phases>: Remove replace 'install.
---
 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 322bdb126e..602a2d305d 100644
--- a/gnu/packages/coq.scm
+++ b/gnu/packages/coq.scm
@@ -326,17 +326,14 @@ (define-public coq-mathcomp
        ("coq" ,coq)))
     (arguments
      `(#:tests? #f ; No tests.
+       #:make-flags (list (string-append "COQLIBINSTALL="
+                                         (assoc-ref %outputs "out")
+                                         "/lib/coq/user-contrib"))
        #:phases
        (modify-phases %standard-phases
          (delete 'configure)
          (add-before 'build 'chdir
-           (lambda _ (chdir "mathcomp") #t))
-         (replace 'install
-           (lambda* (#:key outputs #:allow-other-keys)
-             (invoke "make" "-f" "Makefile.coq"
-                     (string-append "COQLIB=" (assoc-ref outputs "out")
-                                    "/lib/coq/")
-                     "install"))))))
+           (lambda _ (chdir "mathcomp") #t)))))
     (home-page "https://math-comp.github.io/")
     (synopsis "Mathematical Components for Coq")
     (description "Mathematical Components for Coq has its origins in the formal
-- 
2.32.0





  reply	other threads:[~2021-11-16 18:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-16 17:59 [bug#51896] [PATCH] gnu: Add coq-semantics zimoun
2021-11-16 18:07 ` Julien Lepiller
2021-11-16 18:13   ` zimoun
2021-11-16 18:24     ` Julien Lepiller
2021-11-18  3:35     ` bug#51896: " Julien Lepiller
2021-11-16 18:51 ` [bug#51896] [PATCH v2 1/5] " zimoun
2021-11-16 18:51   ` zimoun [this message]
2021-11-16 18:51   ` [bug#51896] [PATCH v2 3/5] gnu: coq-autosubst: Adjust '#:make-flags' zimoun
2021-11-16 18:51   ` [bug#51896] [PATCH v2 4/5] gnu: coq-equations: " zimoun
2021-11-16 18:51   ` [bug#51896] [PATCH v2 5/5] gnu: coq-stdpp: " zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211116185154.22062-2-zimon.toutoune@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=51896@debbugs.gnu.org \
    --cc=julien@lepiller.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.