From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kHnYE2hr52MOPgEAbAwnHQ (envelope-from ) for ; Sat, 11 Feb 2023 11:18:16 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kKLsEmhr52NFdQEAG6o9tA (envelope-from ) for ; Sat, 11 Feb 2023 11:18:16 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id 22A0A6536 for ; Sat, 11 Feb 2023 11:18:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQmxO-00018H-6b; Sat, 11 Feb 2023 05:18:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQmxH-000177-2s for guix-patches@gnu.org; Sat, 11 Feb 2023 05:18:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQmxG-0002So-A0 for guix-patches@gnu.org; Sat, 11 Feb 2023 05:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pQmxG-0004Uq-0j for guix-patches@gnu.org; Sat, 11 Feb 2023 05:18:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61420] [PATCH 25/31] gnu: darcs: Drop Haskell libraries and documentation. Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Feb 2023 10:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61420 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61420@debbugs.gnu.org Cc: Lars-Dominik Braun Received: via spool by 61420-submit@debbugs.gnu.org id=B61420.167611064517232 (code B ref 61420); Sat, 11 Feb 2023 10:18:01 +0000 Received: (at 61420) by debbugs.gnu.org; 11 Feb 2023 10:17:25 +0000 Received: from localhost ([127.0.0.1]:38960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQmwe-0004Tr-Ko for submit@debbugs.gnu.org; Sat, 11 Feb 2023 05:17:24 -0500 Received: from mout-p-103.mailbox.org ([80.241.56.161]:42968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQmwc-0004TY-N8 for 61420@debbugs.gnu.org; Sat, 11 Feb 2023 05:17:23 -0500 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4PDRBy4Vxmz9slP; Sat, 11 Feb 2023 11:08:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1676110122; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MN+qtei4QUNG7oU3X4qlIlFBvSE1Q2qyi2outINtH3I=; b=MrMRoj4Qm0oj6xrBOx1g49kAEmMUJMwiYWR7kCcRiPVmR4AlMI9Il/zv5mknANIbBUHKTm rdmlwLtMxaN/gg2uQ+RcAzGnGZM6LOsSjvbrFviz4juE79IYu6xaHeneLfFPjQ4rLz9VMu i4iCRCboWQZ1Wnm153d2UXjslTTXd1syVo1nxv0A8YF/qIh0AJFPRHfFRwqArkS3eKq8F0 sec31ys5R4+nqjJM2PGF9Iyssvd5zgFwd5V94TdGmAkedEDMnceCXRk8POIo6sS5Ss+2Cm pvLrmfBDSKCqyHR03V9yBHThrOZKWDs8IwmzBzF02OSglduur2GaG5AYoeyOBw== From: Lars-Dominik Braun Date: Sat, 11 Feb 2023 11:08:19 +0100 Message-Id: <20230211100825.47971-22-lars@6xq.net> In-Reply-To: <20230211100825.47971-1-lars@6xq.net> References: <20230211100825.47971-1-lars@6xq.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=MrMRoj4Q; spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676110696; a=rsa-sha256; cv=none; b=buy9OOM1/5zXJVsbDr4o936/65PL2v7tREzT5gHsT5QjQ4Ate5dH/HHl4VtwtPl4lZp63o 4MQ4UpV7/pOJGc/SsiReg2td7NTbzihL6f9GhlC9g1mvjK8YU4fv8WjjzV1maCh0FtLlw6 gsc4iLRyt0XzSmUUIvumF195BcJ3cD5gHPPDVQDWHYhyEoBb67n9rFZ95CI1az3EyNZwQJ B02/Ab8F8zuJG+5+nuBmeTWr9MB69pdbdOVdZK1tiORNW/fZxqFl44RiQnoF0/iZK3n7gY eJErMirrVMYperP10LWmEHCOG/Fo6XrWu+fUETD4NHlePx5RnW5tUITbawquUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676110696; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=MN+qtei4QUNG7oU3X4qlIlFBvSE1Q2qyi2outINtH3I=; b=iqiUM32lULOMHaRV6Z0GtcQGf/5lIAgc+jeOiW5PIAfhsmFzfP/hsSSYMOkSmUEqjE9YOq HyFA8B0PPPaBWfkDeV5TySJE0KRmQJD0TaAwEO3Ps3QX8Le4YXeEXMsG9iQpaNFBpMuuc9 UIJLKvwQzsgvzjz0IZfdWXdwgRb+cwSrndx9+t56jTyGbxdh8CASY1n4ret5W1DSAbQD+5 Yf3SRw1l+/SndUamsFsvoX6JcB6wGjErRs0sU9jK5tfbBounMh9sJbwAMqmy5SC01fQ5lB +M+hkKc6zBHZanLrOuQDSOnJJCDRrJl/jy4g8R2653ig3oc3vJEuDgxVB2QdSA== Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=MrMRoj4Q; spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=none) X-Migadu-Spam-Score: 6.60 X-Spam-Score: 6.60 X-Migadu-Queue-Id: 22A0A6536 X-Migadu-Scanner: scn0.migadu.com X-TUID: swrqyvL1Emnp * gnu/packages/haskell-apps.scm (darcs)[arguments]: Add 'remove-libraries phase and disable #:haddock?. --- gnu/packages/haskell-apps.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index 3cae64a42e..7189d82ec1 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -187,6 +187,7 @@ (define-public darcs #:configure-flags '("-fpkgconfig" "-fcurl" "-flibiconv" "-fthreaded" "-fnetwork-uri" "-fhttp" "--flag=executable" "--flag=library") + #:haddock? #f #:phases (modify-phases %standard-phases (add-after 'patch-source-shebangs 'patch-sh @@ -198,7 +199,10 @@ (define-public darcs (lambda _ (substitute* "darcs.cabal" (("(attoparsec|base|bytestring|constraints|cryptonite|hashable|memory|regex-tdfa|time)\\s+[^,]+" all dep) - dep))))))) + dep)))) + (add-after 'register 'remove-libraries + (lambda* (#:key outputs #:allow-other-keys) + (delete-file-recursively (string-append (assoc-ref outputs "out") "/lib"))))))) (inputs (list ghc-regex-base ghc-regex-tdfa ghc-regex-applicative -- 2.38.2