From patchwork Sat Feb 11 10:08:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lars-Dominik Braun X-Patchwork-Id: 46833 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 D222C1661D; Sat, 11 Feb 2023 10:11:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0F9DD165B0 for ; Sat, 11 Feb 2023 10:11:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQmot-0004vr-Ey; Sat, 11 Feb 2023 05:09:23 -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 1pQmok-0004ov-Vr for guix-patches@gnu.org; Sat, 11 Feb 2023 05:09:15 -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 1pQmof-0000AH-TO for guix-patches@gnu.org; Sat, 11 Feb 2023 05:09:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pQmof-0004E8-PF for guix-patches@gnu.org; Sat, 11 Feb 2023 05:09:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61420] [PATCH 23/31] gnu: ngless: 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:09:09 +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.167611014016079 (code B ref 61420); Sat, 11 Feb 2023 10:09:09 +0000 Received: (at 61420) by debbugs.gnu.org; 11 Feb 2023 10:09:00 +0000 Received: from localhost ([127.0.0.1]:38894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQmoW-0004BB-0z for submit@debbugs.gnu.org; Sat, 11 Feb 2023 05:09:00 -0500 Received: from mout-p-202.mailbox.org ([80.241.56.172]:34020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQmoL-00046m-Dp for 61420@debbugs.gnu.org; Sat, 11 Feb 2023 05:08:50 -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-202.mailbox.org (Postfix) with ESMTPS id 4PDRBx6zYCz9sWt; Sat, 11 Feb 2023 11:08:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1676110121; 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=bsBkgIcuvltXORaJ9J0ImM3NpTGufXmDltfsgJvvc/E=; b=l/8sGXWqcFldOjBPF35fwDzWAE4yDvnUqNBA/C8JN77SfnR/7nmBbrJW1rD06/V8ViMq4T EU8pNLv/ySHdy3GgaF/ei0LTSZN3f3xTCP54wMVeRL4aNz+CwbT8sF027FzMC3nh54APam oRauEV7yebGOzglkAZlyUCtp5vLcbGv96ZvA/yy5DigIV/eCPTl63otYU814MWmm2o9dyz QgVCdF7FLUpvEaB54YDdPESXNp3BP5A6zD2w4aJFHX3j/Q1IuT0Y8pxIYnpiOiEUd4TfjW P2EDRv7ZPLZv97alImqFjnqhcv6jpoy27LEnPRv2+lLL+k/KczTo6OTs1GW5pA== From: Lars-Dominik Braun Date: Sat, 11 Feb 2023 11:08:17 +0100 Message-Id: <20230211100825.47971-20-lars@6xq.net> In-Reply-To: <20230211100825.47971-1-lars@6xq.net> References: <20230211100825.47971-1-lars@6xq.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/bioinformatics.scm (ngless)[arguments]: Add 'remove-libraries phase and disable #:haddock?. --- gnu/packages/bioinformatics.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 3e2d1efc87..8eb164d24b 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -14316,7 +14316,8 @@ (define-public ngless "0pljyrlpr9r3cl5311dhgxdl8y40szyi4vprn34i3piy0qrldymi")))) (build-system haskell-build-system) (arguments - `(#:phases + `(#:haddock? #f + #:phases (modify-phases %standard-phases (add-before 'configure 'update-constraints (lambda _ @@ -14360,7 +14361,10 @@ (define-public ngless (add-after 'wrap-program 'check-install (lambda* (#:key outputs #:allow-other-keys) (let* ((ngless (string-append (assoc-ref outputs "out") "/bin/ngless"))) - (invoke ngless "--check-install"))))))) + (invoke ngless "--check-install")))) + (add-after 'register 'remove-libraries + (lambda* (#:key outputs #:allow-other-keys) + (delete-file-recursively (string-append (assoc-ref outputs "out") "/lib"))))))) (inputs (list prodigal bwa samtools