From patchwork Thu Jan 31 16:50:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Hondet X-Patchwork-Id: 929 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A315016B3D; Thu, 31 Jan 2019 17:14:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 3D64E16AB1 for ; Thu, 31 Jan 2019 17:14:11 +0000 (GMT) Received: from localhost ([127.0.0.1]:57815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpFuk-0005m0-QG for patchwork@mira.cbaines.net; Thu, 31 Jan 2019 12:14:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpFud-0005lY-Gc for guix-patches@gnu.org; Thu, 31 Jan 2019 12:14:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpFuc-0000qZ-K7 for guix-patches@gnu.org; Thu, 31 Jan 2019 12:14:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53972) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gpFub-0000qM-Rf for guix-patches@gnu.org; Thu, 31 Jan 2019 12:14:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gpFub-0006AK-La for guix-patches@gnu.org; Thu, 31 Jan 2019 12:14:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34265] [PATCH 5/9] gnu: ocaml-base: Update to 0.12-preview.120.18+252. References: <875zu4ycve.fsf@gmail.com> In-Reply-To: <875zu4ycve.fsf@gmail.com> Resent-From: Gabriel Hondet Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 31 Jan 2019 17:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34265 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34265@debbugs.gnu.org Received: via spool by 34265-submit@debbugs.gnu.org id=B34265.154895483623680 (code B ref 34265); Thu, 31 Jan 2019 17:14:01 +0000 Received: (at 34265) by debbugs.gnu.org; 31 Jan 2019 17:13:56 +0000 Received: from localhost ([127.0.0.1]:53253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gpFuW-00069s-8O for submit@debbugs.gnu.org; Thu, 31 Jan 2019 12:13:56 -0500 Received: from mail-wm1-f50.google.com ([209.85.128.50]:51052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gpFuU-00069f-NG for 34265@debbugs.gnu.org; Thu, 31 Jan 2019 12:13:55 -0500 Received: by mail-wm1-f50.google.com with SMTP id n190so3335529wmd.0 for <34265@debbugs.gnu.org>; Thu, 31 Jan 2019 09:13:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=xg/WsjgPPP+oqFegYfTYe5PAmcQbFxhulDq3xGrG+aA=; b=va0TQEdyCKTSPLn8i++71xFlm8OGxu1bbwW7J6zGbpfN7fUQAP0TXYhK0r1/X1zhSV ingk33DJIQLHCVyJlJnnoDl5AXt4hBileJT9RaqzCMDCFqvR2Z09UseYu6+9D7clHPCi vNzlpz434syvhs0EVNZpfCOgY97AMI+R1c2lOAZz/h7TQNY5WoNS+AHDvQekr7HG+NZG 9F5xqoNKkezLirb3mfVAJLdz6AU6Cs0Wn3meqv+D0cDt/vTWuSj0U1zgnbxAHs8jHwxF hnVoWAoR2iGFL4ikJcqe8GqOBOHHfCFUs9qnjdEX9LNEryOvtvDYkGJzjqg3YaotAOI+ jOTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=xg/WsjgPPP+oqFegYfTYe5PAmcQbFxhulDq3xGrG+aA=; b=XiTwR9oj2MCm4/idjvRAqGhYL4BvBmSNkv6gmtfgP29NmEcnv7BKWp0P6rMSpY27SS dSOwxm/Aic3QRqzN9d8pcSkf8ayWR7JNtVg36kbRgaEY6MBUj/ENV5GSksmKQELF018x /HAfi+JvMxIRia68gy3gm94X1lTnH+75tD3uTmVzRHchkGnOOujTsXVv37YppOUuZSio VeR/g5ZyZkcjXhOUgk1oy2aW1w9ilwk4hxBp+LZ22+Q9J1Dyk+vaq5dT9s/ATnl0VEat S7FtgSo5qNUe706Vieo135fXTzd6zB07586IDxm8POuoFZ2SSWyOq866DoW46G2aV55V yD3A== X-Gm-Message-State: AJcUukf6G8i7JOJuqSgHCwlfprtiJAnIyybL6PK8qe/t/dlaOfH4KnCI IEujwVmYPSDKafgw5MFS9Tfj0ezO X-Google-Smtp-Source: ALg8bN6UL6nZfejVY4xODGxVL80BC0K2x0I33QCyGiSCu7O1o09S54Of3R8TYS/XqanOt+ffDnr4CQ== X-Received: by 2002:a1c:6489:: with SMTP id y131mr30049955wmb.34.1548954828859; Thu, 31 Jan 2019 09:13:48 -0800 (PST) Received: from glht-aurore.gmail.com ([217.109.134.89]) by smtp.gmail.com with ESMTPSA id z7sm5481896wrw.22.2019.01.31.09.13.48 for <34265@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Jan 2019 09:13:48 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Gabriel Hondet Date: Thu, 31 Jan 2019 17:50:09 +0100 Message-ID: <87zhrgwy0p.fsf@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ocaml.scm (ocaml-base): Update to 0.12-preview.120.18+252. --- gnu/packages/ocaml.scm | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 94b108961..4c2579975 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5011,18 +5011,18 @@ functionality for parsing and pretty-printing s-expressions.") (define-public ocaml-base (package (name "ocaml-base") - (version "0.11.1") + (version "0.12-preview.120.18+252") (home-page "https://github.com/janestreet/base") (source (origin (method git-fetch) (uri (git-reference (url (string-append home-page ".git")) - (commit (string-append "v" version)))) + (commit "170e96604ea81a44354a7508d168eb341a92e060"))) (file-name (git-file-name name version)) (sha256 (base32 - "0j6xb4265jr41vw4fjzak6yr8s30qrnzapnc6rl1dxy8bjai0nir")))) + "166dhrgkwp2iy5cipzalvkyln94f73la1rnqkb07p3wz8yl41gb5")))) (build-system dune-build-system) (inputs `(("ocaml-sexplib0" ,ocaml-sexplib0))) @@ -5032,7 +5032,14 @@ functionality for parsing and pretty-printing s-expressions.") (replace 'build ;; make warnings non fatal (jbuilder behaviour) (lambda _ - (invoke "dune" "build" "@install" "--profile=release")))))) + (invoke "dune" "build" "@install" "--profile=release"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (invoke "dune" "install" + (string-append "--prefix=" out) + (string-append "--libdir=" out + "/lib/ocaml/site-lib")))))))) (synopsis "Full standard library replacement for OCaml") (description