From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e6rBC-0000LK-4v for guix-patches@gnu.org; Tue, 24 Oct 2017 00:51:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e6rB9-0005aJ-2Y for guix-patches@gnu.org; Tue, 24 Oct 2017 00:51:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49521) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e6rB8-0005a1-V9 for guix-patches@gnu.org; Tue, 24 Oct 2017 00:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e6rB8-0002hR-JR for guix-patches@gnu.org; Tue, 24 Oct 2017 00:51:02 -0400 Subject: [bug#28925] [PATCH 1/7] gnu: camlp5: install META file. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20171021181638.27d0d0d8@lepiller.eu> <20171021162058.27938-1-julien@lepiller.eu> Date: Mon, 23 Oct 2017 21:50:23 -0700 In-Reply-To: <20171021162058.27938-1-julien@lepiller.eu> (julien@lepiller.eu's message of "Sat, 21 Oct 2017 18:20:51 +0200") Message-ID: <87o9oxqhdc.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: julien@lepiller.eu Cc: 28925@debbugs.gnu.org julien@lepiller.eu skribis: > From: Julien Lepiller > > * 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/"))))))) Return #t, but otherwise LGTM! Ludo'.