all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: julien@lepiller.eu
To: 28925@debbugs.gnu.org
Subject: [bug#28925] [PATCH 1/7] gnu: camlp5: install META file.
Date: Sat, 21 Oct 2017 18:20:51 +0200	[thread overview]
Message-ID: <20171021162058.27938-1-julien@lepiller.eu> (raw)
In-Reply-To: <20171021181638.27d0d0d8@lepiller.eu>

From: Julien Lepiller <julien@lepiller.eu>

* gnu/packages/ocaml.scm (camlp5) [phases]: New install-meta phase.
---
 gnu/packages/ocaml.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index aa2f00667..40d42a5d4 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -401,7 +401,12 @@ syntax of OCaml.")
                   (lambda _
                     (zero? (system* "make" "-j" (number->string
                                                  (parallel-job-count))
-                                    "world.opt")))))))
+                                    "world.opt"))))
+         ;; Required for findlib to find camlp5's libraries
+         (add-after 'install 'install-meta
+           (lambda* (#:key outputs #:allow-other-keys)
+             (install-file "etc/META" (string-append (assoc-ref outputs "out")
+                                                     "/lib/ocaml/camlp5/")))))))
     (home-page "http://camlp5.gforge.inria.fr/")
     (synopsis "Pre-processor Pretty Printer for OCaml")
     (description
-- 
2.14.2

  reply	other threads:[~2017-10-21 16:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-21 16:16 [bug#28925] [PATCH] Update coq and coq libraries Julien Lepiller
2017-10-21 16:20 ` julien [this message]
2017-10-21 16:20   ` [bug#28925] [PATCH] gnu: youtube-dl: Update to 2017.10.20 julien
2017-10-21 17:07     ` Julien Lepiller
2017-10-21 16:20   ` [bug#28925] [PATCH 2/7] gnu: Update coq to 8.7.0 julien
2017-10-21 22:18     ` Marius Bakke
2017-10-22  8:22       ` bug#28925: " Julien Lepiller
2017-10-21 16:20   ` [bug#28925] [PATCH 3/7] gnu: Update coq-flocq to 2.6.0 julien
2017-10-21 16:20   ` [bug#28925] [PATCH 4/7] gnu: Update coq-mathcomp to 1.6.2 julien
2017-10-21 16:20   ` [bug#28925] [PATCH 5/7] gnu: Update coq-coquelicot to 3.0.1 julien
2017-10-21 16:20   ` [bug#28925] [PATCH 6/7] gnu: Add coq-bignums julien
2017-10-21 16:20   ` [bug#28925] [PATCH 7/7] gnu: Update coq-interval to 3.3.0 julien
2017-10-24  4:50   ` [bug#28925] [PATCH 1/7] gnu: camlp5: install META file Ludovic Courtès

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=20171021162058.27938-1-julien@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=28925@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.