all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: 50134@debbugs.gnu.org
Cc: Maxime Devos <maximedevos@telenet.be>
Subject: [bug#50134] [PATCH core-updates-frozen 12/12] gnu: dedukti: Fix reference to output.
Date: Fri, 20 Aug 2021 14:48:48 +0200	[thread overview]
Message-ID: <20210820124848.13293-12-maximedevos@telenet.be> (raw)
In-Reply-To: <20210820124848.13293-1-maximedevos@telenet.be>

* gnu/packages/ocaml.scm
  (dedukti)[arguments]<#:phases>: Use #$output.  Remove trailing #t.
---
 gnu/packages/ocaml.scm | 39 +++++++++++++++++----------------------
 1 file changed, 17 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index e89c1adbb9..82ee34c542 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4137,28 +4137,23 @@ cross-platform SDL C library.")
     (build-system ocaml-build-system)
     (arguments
      `(#:phases
-       (modify-phases %standard-phases
-         (delete 'configure)
-         (replace 'build
-           (lambda _
-             (invoke "make")
-             #t))
-         (replace 'check
-           (lambda _
-             (invoke "make" "tests")
-             #t))
-         (add-before 'install 'set-binpath
-           ;; Change binary path in the makefile
-           (lambda _
-             (let ((out (assoc-ref %outputs "out")))
-               (substitute* "GNUmakefile"
-                 (("BINDIR = (.*)$")
-                  (string-append "BINDIR = " out "/bin"))))
-             #t))
-         (replace 'install
-           (lambda _
-             (invoke "make" "install")
-             #t)))))
+       ,#~(modify-phases %standard-phases
+            (delete 'configure)
+            (replace 'build
+              (lambda _
+                (invoke "make")))
+            (replace 'check
+              (lambda _
+                (invoke "make" "tests")))
+            (add-before 'install 'set-binpath
+              ;; Change binary path in the makefile
+              (lambda _
+                (substitute* "GNUmakefile"
+                  (("BINDIR = (.*)$")
+                   (string-append "BINDIR = " #$output "/bin")))))
+            (replace 'install
+              (lambda _
+                (invoke "make" "install"))))))
     (synopsis "Proof-checker for the λΠ-calculus modulo theory, an extension of
 the λ-calculus")
     (description "Dedukti is a proof-checker for the λΠ-calculus modulo
-- 
2.33.0





  parent reply	other threads:[~2021-08-20 12:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-20 12:47 [bug#50134] [PATCH core-updates-frozen 00/12] Fix (assoc-ref ... "out") related Ocaml build failures Maxime Devos
2021-08-20 12:48 ` [bug#50134] [PATCH core-updates-frozen 01/12] gnu: ocaml: Fix reference to output Maxime Devos
2021-08-20 12:48   ` [bug#50134] [PATCH core-updates-frozen 02/12] gnu: ocamlbuild: " Maxime Devos
2021-08-20 12:48   ` [bug#50134] [PATCH core-updates-frozen 03/12] gnu: ocamlcudf: " Maxime Devos
2021-08-20 12:48   ` [bug#50134] [PATCH core-updates-frozen 04/12] gnu: ocaml-dose3: Fix reference to inputs and output Maxime Devos
2021-08-20 12:48   ` [bug#50134] [PATCH core-updates-frozen 05/12] gnu: ocaml-cmdliner: Fix reference to output Maxime Devos
2021-08-20 12:48   ` [bug#50134] [PATCH core-updates-frozen 06/12] gnu: ocaml-opam-file-format: " Maxime Devos
2021-08-20 12:48   ` [bug#50134] [PATCH core-updates-frozen 07/12] gnu: camlzip: " Maxime Devos
2021-08-20 12:48   ` [bug#50134] [PATCH core-updates-frozen 08/12] gnu: ocaml-down: " Maxime Devos
2021-08-20 12:48   ` [bug#50134] [PATCH core-updates-frozen 09/12] gnu: ocaml-frontc: " Maxime Devos
2021-08-20 12:48   ` [bug#50134] [PATCH core-updates-frozen 10/12] gnu: omake: " Maxime Devos
2021-08-20 12:48   ` [bug#50134] [PATCH core-updates-frozen 11/12] gnu: ocaml4.07-piqi: Fix reference to inputs and output Maxime Devos
2021-08-20 12:48   ` Maxime Devos [this message]
2021-08-20 13:13 ` [bug#50134] [PATCH core-updates-frozen 00/12] Fix (assoc-ref ... "out") related Ocaml build failures Julien Lepiller
2021-08-20 16:34 ` bug#50134: " Mathieu Othacehe

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=20210820124848.13293-12-maximedevos@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=50134@debbugs.gnu.org \
    /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.