From patchwork Thu Dec 30 07:38:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 35772 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 8DDAB27BBEA; Thu, 30 Dec 2021 07:43:31 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, 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 5F96427BBE9 for ; Thu, 30 Dec 2021 07:43:31 +0000 (GMT) Received: from localhost ([::1]:54714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2q5y-00006F-Io for patchwork@mira.cbaines.net; Thu, 30 Dec 2021 02:43:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2q4c-0007S8-7b for guix-patches@gnu.org; Thu, 30 Dec 2021 02:42:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39459) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2q4b-00083e-Se for guix-patches@gnu.org; Thu, 30 Dec 2021 02:42:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2q4b-0006Zm-Qs for guix-patches@gnu.org; Thu, 30 Dec 2021 02:42:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v6 12/41] gnu: node-llparse-bootstrap: Use 'delete-dependencies'. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Dec 2021 07:42:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51838 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51838@debbugs.gnu.org Cc: Timothy Sample , Pierre Langlois , Jelle Licht , Philip McGrath , Liliana Marie Prikler Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.164085011425160 (code B ref 51838); Thu, 30 Dec 2021 07:42:05 +0000 Received: (at 51838) by debbugs.gnu.org; 30 Dec 2021 07:41:54 +0000 Received: from localhost ([127.0.0.1]:50987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2q4P-0006Xd-QL for submit@debbugs.gnu.org; Thu, 30 Dec 2021 02:41:54 -0500 Received: from mail-qk1-f177.google.com ([209.85.222.177]:37651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2q47-0006W2-OU for 51838@debbugs.gnu.org; Thu, 30 Dec 2021 02:41:36 -0500 Received: by mail-qk1-f177.google.com with SMTP id t66so10531354qkb.4 for <51838@debbugs.gnu.org>; Wed, 29 Dec 2021 23:41:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QC37rL+KmoDShkQGxJ2XFA4u7ALzTOgIO7nDHYUWv3I=; b=EUK7zwe5fKSgo18eoBrExxAV212DqGimndckP4D7hVKoJbslqC79k37+o2nMNsyp40 tha1T6QnuVD6exWVHASGheopQKSSqirIWixNlQL9tzEoSgTbgTXecLmZTmN+RfBhkegi MwrGfdF47kD1WuWra0GQWg+TxT1H5n61s2Rey+fnj+oaw38OHcW3Hxkc2neBdGSAuNFm /EVsGEj0lBjYI4CHEMBbugA5gtuHqJ7zJZp2VrmdJ07c7oeAFVqWcTG23SiuvGO3OPHs 6zuozyZAbpnfDSw3yPnd+GtyzQAcDUNzlNwzYS5k/8Hxe/uFJCCfJh7kYjhpFTgufqwz WqLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QC37rL+KmoDShkQGxJ2XFA4u7ALzTOgIO7nDHYUWv3I=; b=Up/M2dg2fkqPqPTUvk9578/u/WIHbtEkB/paNEUNbGkgCPYVoD6SKsXhDJj3O4yRFa OdAZKauco4BQ3TZHtHRdJcMgrAXcgs4C5olVyYqTxJ0ssC891ess5YxKNAGKw0K9YILi 1M0fdieu5TH1G1K4p/k9yZHR4eMHecpuSCKXJ6sITiYHSp8ng8hEvjgq4KJu0qWqKj6G dxWF4oc5M4tXSWj2+lL138EEmdUQbzHKt0V13qISB3UglfgpEN4AzzU63W1vOxp25GnE vPEFavrOfuwNsjx+Qxo6g3RhC8YGBl7Yxo2Q9eVdvZY31kwGCf91E+NIObxFZ+KXqj2m jenA== X-Gm-Message-State: AOAM533mLSM+Q0iaNWsfISxzI6ncTIvtY8iWHUGJA+FwifSl7mGLTa1H HOHNg+HaWiZoEfJM98CYddrQH5dTDNTFa0OI X-Google-Smtp-Source: ABdhPJxLfxVMha324FYRBEN4gJGT615uyTp+th1jn77UGKtHVo7vFozzsp40pYLwcRfD0CU94qf5jg== X-Received: by 2002:a37:9a82:: with SMTP id c124mr20629053qke.417.1640850090268; Wed, 29 Dec 2021 23:41:30 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with UTF8SMTPSA id n20sm19961680qkp.65.2021.12.29.23.41.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 23:41:30 -0800 (PST) From: Philip McGrath Date: Thu, 30 Dec 2021 02:38:50 -0500 Message-Id: <20211230073919.30327-13-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211230073919.30327-1-philip@philipmcgrath.com> References: <082a81964a43ae5f735ad2ca433d0dfe00859c35.camel@gmail.com> <20211230073919.30327-1-philip@philipmcgrath.com> 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" X-getmail-retrieved-from-mailbox: Patches gnu/packages/node.scm (node-llparse-bootstrap)[arguments]: Use 'delete-dependencies'. Stop deleting the 'configure' phase. --- gnu/packages/node.scm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm index b132ce730b..5a4401e779 100644 --- a/gnu/packages/node.scm +++ b/gnu/packages/node.scm @@ -642,7 +642,20 @@ (define-public node-llparse-bootstrap #:tests? #f #:phases (modify-phases %standard-phases - (delete 'configure) + (add-after 'patch-dependencies 'delete-dependencies + (lambda args + (with-atomic-json-file-replacement "package.json" + (lambda (pkg-meta) + (delete-dependencies pkg-meta + `("@types/debug" + "@types/mocha" + "@types/node" + "esm" + "llparse-test-fixture" + "mocha" + "ts-node" + "tslint" + "typescript")))))) (replace 'build (lambda* (#:key inputs #:allow-other-keys) (let ((esbuild (search-input-file inputs "/bin/esbuild")))