From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gH1QJTR7mGFfzQAAgWs5BA (envelope-from ) for ; Sat, 20 Nov 2021 05:36:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YKhFIDR7mGGoPAAA1q6Kng (envelope-from ) for ; Sat, 20 Nov 2021 04:36:04 +0000 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 aspmx1.migadu.com (Postfix) with ESMTPS id 3B2D1133DF for ; Sat, 20 Nov 2021 05:36:04 +0100 (CET) Received: from localhost ([::1]:36456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1moI6d-0003hz-D5 for larch@yhetil.org; Fri, 19 Nov 2021 23:36:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moI5m-0002NX-Rd for guix-patches@gnu.org; Fri, 19 Nov 2021 23:35:12 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57936) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1moI5j-0007PQ-6Z for guix-patches@gnu.org; Fri, 19 Nov 2021 23:35:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1moI5j-0007yN-4D; Fri, 19 Nov 2021 23:35:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v2 12/26] gnu: node-llparse-bootstrap: Use #:absent-dependencies. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Sat, 20 Nov 2021 04:35:07 +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: Liliana Marie Prikler X-Debbugs-Original-Xcc: Liliana Marie Prikler Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.163738287930444 (code B ref 51838); Sat, 20 Nov 2021 04:35:07 +0000 Received: (at 51838) by debbugs.gnu.org; 20 Nov 2021 04:34:39 +0000 Received: from localhost ([127.0.0.1]:41207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moI5H-0007ur-8J for submit@debbugs.gnu.org; Fri, 19 Nov 2021 23:34:39 -0500 Received: from mail-qk1-f181.google.com ([209.85.222.181]:41599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moI52-0007rQ-A5 for 51838@debbugs.gnu.org; Fri, 19 Nov 2021 23:34:24 -0500 Received: by mail-qk1-f181.google.com with SMTP id t83so12349477qke.8 for <51838@debbugs.gnu.org>; Fri, 19 Nov 2021 20:34:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=zB8Q3gHUAjYZf7aD/m+qvVXNE+nk0p2Waz35RtU/tjw=; b=fLsQyGmfyLmGeuIRH49f8WMBBBlnSkxFqP0VTxHKHlDMPEQebXAlkWOt+19g4JDZT9 9QoFP3W4xOYdHKmaBleCLraCvetGuNBQIzfk0R2pioMoevCp0iX1RuzRHel/oPYfeTfe AaS3/CY2PmM2KQyY/zdEmFRV4n57dQwSpFAbL0A54lA/fWhlMYnNpM8vIJ8x0oaHauCb gKADfYod1eDSNV3lnoSH8bSkFWElxWPiwS0H2sg/gJz21VP4wqqtmGqmM6V4FZimC1Dy pI3WukJFA+uvRNBvC84UT3JxvXyc4DQ28PuudvOxjlvAxZYnCUcoHkAmHpqCqiCzDej5 4QRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zB8Q3gHUAjYZf7aD/m+qvVXNE+nk0p2Waz35RtU/tjw=; b=69LfDh75lncl3aj1X+36dYe6MW1XZdik6D9MwA7VjfjMG7lcrrjgqoWuhXINKJEN0j 29xo9RXNAlx0lN+R+o2Ff843Ztz2WC4Oa80hdZGvVPHZnuSYHD5by5j4RyW8xQtTtiWk Ol9G3qs82WOb8lmkNj0WEi1YLykSzxzmArbi7vViwYzqH6g1de+6EfCQl21qShOgyvFx kivhg1xbNELjmgtW/NI/485eiwTrv8qDI/FrvofGUXr6X2o//sMC+SjmKmk5Lrdx2pdN rpQkqzAcTc1/OqsPhlo57o9CuCBKKgTBuF2ZWakM2Gvoe42DTA71Vz8YlO4lXqXEYVhF XMzw== X-Gm-Message-State: AOAM533zbIXFdtap++qLecFmjXqrSjEi5NdlpewMSyYBTvjcurRxqy5v LWlwQK1szaDPL8Tu9eZxWQRWE6sOyY5S+e1S X-Google-Smtp-Source: ABdhPJxTjEsjj/4fFtHxpvIqd3Hwmys5vqTbZZ9bcpQko9on0Yk20/o41ZNwblPAini5r3rfJ1UIJg== X-Received: by 2002:ae9:e502:: with SMTP id w2mr33476073qkf.315.1637382858806; Fri, 19 Nov 2021 20:34:18 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with ESMTPSA id t15sm1001590qta.45.2021.11.19.20.34.18 for <51838@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Nov 2021 20:34:18 -0800 (PST) From: Philip McGrath Date: Fri, 19 Nov 2021 23:33:52 -0500 Message-Id: <20211120043406.952350-12-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211120043406.952350-1-philip@philipmcgrath.com> References: <5a04aa92-e80d-e11b-235c-b7f5e3a92d00@philipmcgrath.com> <20211120043406.952350-1-philip@philipmcgrath.com> 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637382964; 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=zB8Q3gHUAjYZf7aD/m+qvVXNE+nk0p2Waz35RtU/tjw=; b=MEvEbjgOW2gw1LekEYzTW0Oo/UWifExsjBo89TO4XnK8Pfo3tbS5BjRfW6oMLtiJIQXLrW N4pVSeJRbzZ6THXAdkKBdIX0Hkg+rjuUKHi5VRXdgtbh7cl9zGddgcToBGQg5DVTKzVpkM gNJsNE0IMNkEDpwS/ALzTaJzr/0MylwOy/zQ+lFRsy/mC/k6JlEnJX2Hgx0DVhHMU7d/S5 WWefljblXLsOsIETM+Q65GxuFU8GB9LgxZBk+p83enWpPJ9b/Bii7UVO8Yp6IqTJzHrIHx ek5SDIjcvy17mrPHFIqyqHOjyoBaDV9OsTeSUYtl3DsZ2+vKQ1jkXC7PVpqWeA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637382964; a=rsa-sha256; cv=none; b=OUkkN/5lTCfimIMQG8WCbHH+/Y5ArpgtlRLYMeMdZ4dBCgGEBjmDm0gQUAv1BHUR8YUVcb wrTn3l75XC2Ued82zOjB3qHshkxmSYClSKzy/qp7dpD1iSxApCjWNOazVjrgcF/boIa2ea lEzXve9Lcy7m36YNb57KdWlw+6W9mgMS2++YUKEQQw+MN+dlIgAooPxFiljZvbe4k8q1pj hNca8vPEESfh12F10uUEAKqXqQNcyp/uQfNwxT6YS1+QazpbuKeOiT0bfbnUpTHa38LeY2 S8qyFPGemTQA+q/OjrAODQ98lC1l74y5ScYvXu2eJqb60LDrxOfLxWGYkjqBbA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=fLsQyGmf; spf=pass (aspmx1.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" X-Migadu-Spam-Score: -0.37 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=fLsQyGmf; spf=pass (aspmx1.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" X-Migadu-Queue-Id: 3B2D1133DF X-Spam-Score: -0.37 X-Migadu-Scanner: scn0.migadu.com X-TUID: oU2vvQu/n7B5 gnu/packages/node.scm (node-llparse-bootstrap)[arguments]: Add `#:absent-dependencies`. Stop deleting the `'configure` phase. Add a new phase `#:delete-package-lock` to remove the problematic "package-lock.json". --- gnu/packages/node.scm | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm index 298b9376a8..6d48816c77 100644 --- a/gnu/packages/node.scm +++ b/gnu/packages/node.scm @@ -609,9 +609,24 @@ (define-public node-llparse-bootstrap (arguments `(#:node ,node-bootstrap #:tests? #f + #:absent-dependencies + `("@types/debug" + "@types/mocha" + "@types/node" + "esm" + "llparse-test-fixture" + "mocha" + "ts-node" + "tslint" + "typescript") #:phases (modify-phases %standard-phases - (delete 'configure) + (add-before 'configure 'remove-package-lock + ;; Having package-lock.json seems to cause npm + ;; to look for things on the internet in the configure phase, + ;; even if we have them properly installed. + (lambda args + (delete-file-recursively "package-lock.json"))) (replace 'build (lambda* (#:key inputs #:allow-other-keys) (let ((esbuild (string-append (assoc-ref inputs "esbuild") -- 2.32.0