From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SD3vJi5atmGSGwAAgWs5BA (envelope-from ) for ; Sun, 12 Dec 2021 21:23:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yA+cIi5atmGFYQAAB5/wlQ (envelope-from ) for ; Sun, 12 Dec 2021 20:23:10 +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 478A9F0ED for ; Sun, 12 Dec 2021 21:23:10 +0100 (CET) Received: from localhost ([::1]:39670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwVNE-00071E-Vl for larch@yhetil.org; Sun, 12 Dec 2021 15:23:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwVN8-00070u-8I for guix-patches@gnu.org; Sun, 12 Dec 2021 15:23:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41705) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwVN7-0003Qt-W4 for guix-patches@gnu.org; Sun, 12 Dec 2021 15:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mwVN7-0002Sx-S3 for guix-patches@gnu.org; Sun, 12 Dec 2021 15:23:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v3 06/43] guix: node-build-system: Add #:absent-dependencies argument. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Dec 2021 20:23:01 +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: Pierre Langlois Cc: 51838@debbugs.gnu.org X-Debbugs-Original-Cc: 51838@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16393405679441 (code B ref -1); Sun, 12 Dec 2021 20:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Dec 2021 20:22:47 +0000 Received: from localhost ([127.0.0.1]:53248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwVMt-0002SD-9h for submit@debbugs.gnu.org; Sun, 12 Dec 2021 15:22:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:41326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwVMr-0002S4-DX for submit@debbugs.gnu.org; Sun, 12 Dec 2021 15:22:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwVMr-00070M-9P for guix-patches@gnu.org; Sun, 12 Dec 2021 15:22:45 -0500 Received: from [2607:f8b0:4864:20::929] (port=37818 helo=mail-ua1-x929.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwVMp-0003P0-5x for guix-patches@gnu.org; Sun, 12 Dec 2021 15:22:45 -0500 Received: by mail-ua1-x929.google.com with SMTP id o1so25925396uap.4 for ; Sun, 12 Dec 2021 12:22:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=c7M4Q231da6rQsFSSGciLcu6Bm2AA2eHmD2Mq19Qgb0=; b=fQ2ej6B6a7i52qRjqf0H4dZHAhbIrZc9ce4HCOB7EsaWQoHFBOWvSpoWmTR+e+Pbac ko0iwkW+DggbW+Khfj8KSZ5QK4dCBQfIvbki51iLzcxb4VW4v2xcOxlP8u0jraASZZo5 FvhS2COAwMyg3CFq6cbgppAtDG0BdmVrbfMZFSeCUTFpV1YCoGTWsE9J1Y20OMKJnyRn XJTsMovOBlfwnTEoU8FhgjiSFaH0QqySed4qrycC6RDyNc1B2vjbk+C73PaaoBdFQMxo uRxkIRl4munkjea7G6WU4VarjsjA9DKoHaAytfvk8Im1AQKD5zRKc9HRg0TPFxh3Qp5H 8eHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=c7M4Q231da6rQsFSSGciLcu6Bm2AA2eHmD2Mq19Qgb0=; b=qtimu0V/LR3BtBFssNVUSScwN+zxicuf3KP2dSxW25bWBRbRukFo+5AavJ8mBfFAbp 9fq8Zm3yo6+e6Zo/b0o59NYtXjPbKCBAldr54RxTELGMcaiXkUPHQhTqnMer4G3oFqL0 YEYIYp6ESucSx+1CWJtuKOmX3GwK8tG5CMzKuw/AOzALF15bAiXGJO+WZIZ7menuL8jy WondwlgX+MFw9h+AsTV4j3b4D9STb3O7gLxTMo76DUEB9YtiqSNWIKut3K0GTJcwi1+b MVi+HG6vN/YxJFyWYhSKLSt3nVYvuG/lzVbwOduhc5d6DxoeFNczDVF4fAbNvB0BQZ0p 0bjg== X-Gm-Message-State: AOAM533nyGrPbGCH2tcsLK1cRu5RVShOz0sDK/YbyeX4aFW6VCVZDV2+ MW85SHGTjQthQhm3dFAkNNO7N1xX7M/GT6dJUxY= X-Google-Smtp-Source: ABdhPJwNrPF3NmSZmBVfjB1gn1ER1TlHvhkR7sBWFEeqo7mUfuJmkXKwku2qyUUfnpcn7V4AFkN4/w== X-Received: by 2002:a67:a409:: with SMTP id n9mr24559224vse.74.1639340562330; Sun, 12 Dec 2021 12:22:42 -0800 (PST) Received: from [192.168.45.37] (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with ESMTPSA id w2sm3308419vsw.29.2021.12.12.12.22.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Dec 2021 12:22:42 -0800 (PST) Message-ID: <95d7e26c-33f9-fcf6-a2ae-c543979264fc@philipmcgrath.com> Date: Sun, 12 Dec 2021 15:22:41 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Content-Language: en-US References: <46a042bc08eb72a068b1e8c69bfe28cf2d4b2e53.camel@gmail.com> <20211208202838.752542-1-philip@philipmcgrath.com> <20211208202838.752542-7-philip@philipmcgrath.com> <8735mx24g0.fsf@gmx.com> From: Philip McGrath In-Reply-To: <8735mx24g0.fsf@gmx.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::929 (failed) Received-SPF: neutral client-ip=2607:f8b0:4864:20::929; envelope-from=philip@philipmcgrath.com; helo=mail-ua1-x929.google.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-2.051, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779 autolearn=ham autolearn_force=no X-Spam_action: no action 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639340590; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=c7M4Q231da6rQsFSSGciLcu6Bm2AA2eHmD2Mq19Qgb0=; b=AJfhibx6ZNKR2V35DBlsD0FZK+iz7fGwqN4e4J8VibBBk/Le2Nfiyqd6iAZMZBkCWcozT/ Cwa6eWU8dVoZbUmxAHp7bV0P20sh08QFUxGVCsm5QhctjqoiiRd9m4Z/x8JSXdnS23kDRN urGtc264e6OnNb9q2H/KPKSCdHhEqH6GBBuPWKREvqaQMCu3PS6WScRO+SS80L2WFW0/EW U//A+0g/cp3Q6g6hcTzi5huU9UTwHaYyG3cbBn4C65EuKubTinFR95fEcKpe16ofbD5350 UO+4kuf5sr+Sjhve1TBVxk7MAGxV3nlLcldiwaUOACJGvE7J5MkbSGo3YcA/qw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639340590; a=rsa-sha256; cv=none; b=WtXQn9enuCCR1+Q0oQ9vS37My4n3Wx0unwyjkT/FuwsMMJ93rg4DDLpoJCvwYCrEImquSV N0COQppurnSRzx/hfatxFZ6FoPzQL5ZKQbiIjsQ/c0gfKbYoaGXR2pfqlRdRuGe3OTU7ck JKHH/r9z+kwXLyXsFkeGyloyVE9odzuqx24IBQryoXc4DwK4YEjRGuQ1ndAa60AoGnxzIx dj5FqjF2QKUetO7QvNpoaq/OJQDbPw5b7Ss5JbzoBjLKcFDyRGB6ACoY/Qlym1jDjprgHd +lB9nPOg0wMNV+hj8KeCvtsp4uzJCePxWrGx0IUoO0IsSlO83Yn4BKyv0Sh4SA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=fQ2ej6B6; dmarc=none; 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: -2.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=fQ2ej6B6; dmarc=none; 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: 478A9F0ED X-Spam-Score: -2.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: n9RH4d+uNzN8 On 12/12/21 10:31, Pierre Langlois wrote: > > Philip McGrath writes: > >> * guix/build-system/node.scm (lower, node-build): Add optional >> argument #:absent-dependencies with default of ''(). Pass it on >> to the build-side code. >> * guix/build/node-build-system.scm (patch-dependencies): Respect >> the #:absent-dependencies argument, removing specified npm >> packages from the "dependencies" or "devDependencies" tables >> in "package.json". > > Nice, I like this new option, I've needed this functionnality before as > well. For instance I've seen dependencies like "prebuild-install" [0] > for which the whole purepose is to download binaries instead of building > them... in Guix we always want to remove those dependencies. > > I'd suggest to add documentation for this new option in the manual, but > that could be done as a follow-up. I agree documentation would be good: I don't think there's any for node-build-system at all, yet. I haven't written texinfo before, but I may give it a try as a follow-up. -Philip