From patchwork Thu Jan 31 16:28:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Hondet X-Patchwork-Id: 927 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 8386A16B3D; Thu, 31 Jan 2019 17:12:51 +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 autolearn=ham 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 2BF6116AB1 for ; Thu, 31 Jan 2019 17:12:51 +0000 (GMT) Received: from localhost ([127.0.0.1]:57807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpFtS-0005Z4-Mf for patchwork@mira.cbaines.net; Thu, 31 Jan 2019 12:12:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpFsi-00058e-F6 for guix-patches@gnu.org; Thu, 31 Jan 2019 12:12:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpFsh-0000BU-9k for guix-patches@gnu.org; Thu, 31 Jan 2019 12:12:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53963) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gpFsg-0000BI-Kd for guix-patches@gnu.org; Thu, 31 Jan 2019 12:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gpFsg-00066i-ES for guix-patches@gnu.org; Thu, 31 Jan 2019 12:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34265] [PATCH 3/9] gnu: ocaml-ppx-derivers: Fix libdir install 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:12:02 +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.154895470123439 (code B ref 34265); Thu, 31 Jan 2019 17:12:02 +0000 Received: (at 34265) by debbugs.gnu.org; 31 Jan 2019 17:11:41 +0000 Received: from localhost ([127.0.0.1]:53244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gpFsL-00065z-A1 for submit@debbugs.gnu.org; Thu, 31 Jan 2019 12:11:41 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:36858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gpFsJ-00065i-2k for 34265@debbugs.gnu.org; Thu, 31 Jan 2019 12:11:39 -0500 Received: by mail-wm1-f65.google.com with SMTP id p6so3395661wmc.1 for <34265@debbugs.gnu.org>; Thu, 31 Jan 2019 09:11:39 -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=isbw7n69bGe9JBVNAwGUTYpctR7Q9btq2U9cpbbAllg=; b=IwA8kY5TPnvxboKRlp7CTic4dlhVP2Pn1rjvDp8aidryf4cHbWqBjjPZZXX6A51d9N P7aoeM8QPadtPVNAXjteyX2oEe8rt1L3qZatczfoklN5En9UvhCNCobieA+Et5EhBwm2 KFylovTb0spFKBeiP0JSpSXlZGimFVnQ8WqGnX7nJDodN5/LkD/FAPpsW6xxBXrv2Er2 Dgq/Yu9Q5nWD2gxyUiAUjd+x3lAhsOTwJsBZptV4LTdfZdukv1peIpWy/Ud+QqzvIfBZ b5jddEFUAFMTQXt3vVjWsZtUYJcE2JmnhWBqSBjjhmjDiSNKq7DAEK0S9tBQNHPIwzDx qTRg== 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=isbw7n69bGe9JBVNAwGUTYpctR7Q9btq2U9cpbbAllg=; b=QxH/iCOQMkmu6jmw9wDd9EDnHnP0YKxdoBAr+kI11A8+KibjDVdZQH+Jven2rfV5EI wGcVp4DYPo/327ssNPO6MII93vseuAEwTJVOxbyX5aQkVeRjWFPgFw52f2umiw1wGdg3 9SQZICWM4bskHgDR/Bom6OZJwRzWhGylKqiCUqb4ui1Xg8bvTsiHpV7lLF9B3qsCjzCR M27fKm7uWL18r3Ncwql4r3R+0QD1odiXMLCSaC//zVz8nqKzaLTSCnaDkqFMaEy0y0xJ qCuFFSgf/kwHsRHeyXN5knyXFugxYJw3X504YJ5jOFmI842YPLDMLzRlL9wkWFLp1EXb xq9w== X-Gm-Message-State: AHQUAuZs/CAXxCg/qoqrFbXvWzmsQkHQJwi6MBgLXUuYD9QwHJ9t43HW lgU8Eliy25t8F5N35otA0vzwcB7n X-Google-Smtp-Source: AHgI3Iaw2R4p3BcY4HrbhNBVkiGd+noWaiidl0dPpq679fys3HLsz4D7xYuuP6rF4JNG7GD8+qnGaQ== X-Received: by 2002:a7b:c399:: with SMTP id s25mr100097wmj.90.1548954693064; Thu, 31 Jan 2019 09:11:33 -0800 (PST) Received: from glht-aurore.gmail.com ([217.109.134.89]) by smtp.gmail.com with ESMTPSA id r22sm74909wmh.2.2019.01.31.09.11.32 for <34265@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Jan 2019 09:11:32 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Gabriel Hondet Date: Thu, 31 Jan 2019 17:28:37 +0100 Message-ID: <8736p8ycos.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 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 5f95591d9..946360833 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5116,7 +5116,17 @@ a more consistent API.") "0bnhihl1w31as5w2czly1v3d6pbir9inmgsjg2cj6aaj9v1dzd85")))) (build-system dune-build-system) (arguments - '(#:tests? #f)) ;no tests + '(#:tests? #f ;no tests + #:phases + (modify-phases %standard-phases + (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/"))) + #t))))) (synopsis "Shared @code{@@deriving} plugin registry") (description "Ppx_derivers is a tiny package whose sole purpose is to allow