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 OE8YKT+xvGHBIQAAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 16:48:15 +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 4ETFJD+xvGFSBQAA1q6Kng (envelope-from ) for ; Fri, 17 Dec 2021 15:48:15 +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 17DCE2EEDD for ; Fri, 17 Dec 2021 16:48:15 +0100 (CET) Received: from localhost ([::1]:42228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myFSw-00041R-6Z for larch@yhetil.org; Fri, 17 Dec 2021 10:48:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myFSk-00040H-Tw for guix-patches@gnu.org; Fri, 17 Dec 2021 10:48:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57146) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myFSk-0002wF-1v for guix-patches@gnu.org; Fri, 17 Dec 2021 10:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myFSj-0001qx-QW for guix-patches@gnu.org; Fri, 17 Dec 2021 10:48:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v5 07/45] guix: node-build-system: Add #:absent-dependencies argument. Resent-From: Timothy Sample Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Dec 2021 15:48: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: Liliana Marie Prikler Cc: 51838@debbugs.gnu.org, Pierre Langlois , Jelle Licht , Philip McGrath Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.16397560226928 (code B ref 51838); Fri, 17 Dec 2021 15:48:01 +0000 Received: (at 51838) by debbugs.gnu.org; 17 Dec 2021 15:47:02 +0000 Received: from localhost ([127.0.0.1]:40459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myFRm-0001nf-AX for submit@debbugs.gnu.org; Fri, 17 Dec 2021 10:47:02 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:53285) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myFRh-0001n5-DE for 51838@debbugs.gnu.org; Fri, 17 Dec 2021 10:47:00 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id E6F733201EA3; Fri, 17 Dec 2021 10:46:50 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 17 Dec 2021 10:46:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=3WHSVG49wQOkUzHlBGo9hYPPSWTPjVrv8BoxI7jkP HA=; b=KrCMF5+L06A1AMecvfdV8jws6KIvDQbXdcwyyLlrm6Kn4+hu6p7dmSAIH JcoLLn5DUP51KyIYFvaSYRIi9wfdXCo/tcDKFQjI2zIvoe3mi2rcdk550XECEqUk 8yKMa5J1gFxofaZG/mjFlAAPxqBQyRkVMYU4bR6w6MWeEHMOKFEDCAeRGEj7BZcl JCAas5fZtENagidRs4vuxuKdr16NYMccj0mE//M29Dt82uyF9lBY/jI586XlWpMZ 5BoTJklq0bpJvj61u2QnXapHR6Q5Mi0m2loTbmR08GeEB/8qvQ0Y3qpvCO3visDV +X5HN7Y6OsPOzDnCSbeA1LYgfucKA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrleeigdekudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufhffjgfkfgggtgfgsehtqhertddtreejnecuhfhrohhmpefvihhmohht hhihucfurghmphhlvgcuoehsrghmphhlvghtsehnghihrhhordgtohhmqeenucggtffrrg htthgvrhhnpeeiudeuhfeggeelleevheegudfguefhieekffdtveeilefglefhvddtgfei heetgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsrghmphhlvghtsehnghihrhhordgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 Dec 2021 10:46:49 -0500 (EST) From: Timothy Sample References: <20211213060107.129223-1-philip@philipmcgrath.com> <20211217020325.520821-1-philip@philipmcgrath.com> <20211217020325.520821-8-philip@philipmcgrath.com> Date: Fri, 17 Dec 2021 10:46:48 -0500 In-Reply-To: (Liliana Marie Prikler's message of "Fri, 17 Dec 2021 05:43:23 +0100") Message-ID: <87k0g36xp3.fsf@ngyro.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1639756095; 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=3WHSVG49wQOkUzHlBGo9hYPPSWTPjVrv8BoxI7jkPHA=; b=a3urczaUdhADCA9pzNtYPsEFgPt5isBWDZeNDv5pPRxvfBivRe2FsaogyO/gPVJAl5xYvM CAim+kNaIsGPtLomqJEWUNeRqvM1LFDJSfwY374hXW+L9VHjHISbwQ6g7v9tkl5qrJhouP S7AuVW2h1QaeNlQMGlckxNvYP8g0wQPE6Cttrh1MqVJxQblDJrj+oRUYO+euSxHAnSVr0o 2xfieVWKv5qMM9s12q4SxGQxKkcVvIYKL0xdTU99uS2uB21doLzg6YhWsoYdRajvdptOMr kSmV6AsAg3DhbvpiEWcvE5cTfW4yei+Jp5eM44bVUYfxPYTRv4Cz/VTV4ucSkw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639756095; a=rsa-sha256; cv=none; b=HYYwcac/ONLkhG2+Xo7gMwCzU4XYjOKZdL5adUg3dCqlDG8PrzpB0+5nwCrDgA0ewkFWkQ qLcjmIISoHM/ZMTWczag4yWWJCCRxtzRqEr5JVVDxJnIGeO7/5YdmtygNQdehLed4jz4gE j9ga5ur3CE2j3MD/uvRt53F6ulThFdN6z28NfJKZ3cve4mihf0AuNNvCxPfcWkajFeB7vM S4Or4gNKDb0A2yDvUu5vw7V8X7nh6nSIBrAlNJeR/VmZbmu6rX0pcfL7ouWhd/1cO1MBnU 2CC7DTKp993il3hBTyJmVKnaZel5OHJR3vlsDWme6SqStBsIK4DmJJ8V7O+xhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=KrCMF5+L; 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: -1.60 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=KrCMF5+L; 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: 17DCE2EEDD X-Spam-Score: -1.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: WC4KLz4h2bLj Hi Liliana, Liliana Marie Prikler writes: > I might be sounding like a broken record here, but again for the sake > of being able to add or remove inputs on the user side without > duplicated efforts, I'd use something else in lieu of absent- > dependencies. For the time being, I think a switch between "fail" and > "warn about missing dependencies" ought to be enough. In the future, > we might want to make it so that packages can specify which > dependencies they absolutely require and which they don't (or if > possible infer that from dependencies). WDYT? The way I see it is that we are basically copying the =E2=80=9C--disable-X=E2=80=9D/=E2=80=9C--without-Y=E2=80=9D features of a G= NU configure script. With the GNU build system, if one of our packages specifies =E2=80=9C--without-z= lib=E2=80=9D for whatever reason, and you as a user want to modify the package to use zlib, you would have to 1. remove the =E2=80=9C--without-zlib=E2=80=9D configure flag; and 2. add the zlib package to the package=E2=80=99s inputs. That=E2=80=99s a =E2=80=9Cduplicated effort=E2=80=9D, right? Similarly, for a Node package (with a pretend Node zlib package), you would have to 1. remove =E2=80=9Czlib=E2=80=9D from absent dependencies; and 2. add the =E2=80=9Cnode-zlib=E2=80=9D package to the package=E2=80=99s i= nputs. That seems okay to me, but I=E2=80=99m worried I=E2=80=99ve missed what you= =E2=80=99re trying to communicate. -- Tim