From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id GPBANDKFFWYrJwEAqHPOHw:P1 (envelope-from ) for ; Tue, 09 Apr 2024 20:13:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id GPBANDKFFWYrJwEAqHPOHw (envelope-from ) for ; Tue, 09 Apr 2024 20:13:06 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=reproducible-builds.org header.s=1.vagrant header.b=3xh6pBzk; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712686386; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=er2q5bzBsCvCP/QimbUk644CPJ8gDgnw4cdMJAnh4LQ=; b=uWOcvj4n7j1N/3aVFINUp4idH78R3xEgC2yBQkYwLYRRSy2GR2/m3fc5vrglIQUmLOiEst m+qA7aRlBih1JzIdxCBMP/gd4LAVrrkW0nhFTScGhB5HpxNjNihhh1et8ljQbhAVaDhuS+ fzg5p054CS0ySuhGcI3LKcF/0hFdVEDaiSIkgFtjRef+XewDOcWyIo7RIdCSYhSeOeQWJT Q/TFz+S8mUOvwi3SeKivneEg6wiNUSLslj0SFAzIAMSQ2QVbUTVBP0P7RT0ndNs/6cOX1Y 6cuMwaP9d7vDgrkGZ0slJbtrg02ToR36hIRaD5IpnK9YpVv0Q9pjDJlfXUfMOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712686386; a=rsa-sha256; cv=none; b=DpGoB1IsXQopxvJNfFPeAxsBu5sqnWQFxxgI+KJcO7efgNP+5VILe60rX2egqCU/z7n130 iURFK25ZZN4Y1xp391RY890TJNpmqYDrmaia72IOjwPLDUBQelch/0JP2aje721uIG35Ay p2d40FL1gsJ1N1EQTpEbun4ZF5JogpezyBMcdHNRvEw03iXj+LAW4Sz2qa9If1SM6emCnf HhK0mVNON6R1qyPS73b9zWVWxEQV3RptHhLGnQN+F604Uraj6oMvVdiSmTMEH6K6ZbKkBL yTlZ9cqVTdZ2rT4ts90JMFnSIzc6vQZPXpdoX5VcS9Lf+TrRuo1GR+EXNwaGOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=reproducible-builds.org header.s=1.vagrant header.b=3xh6pBzk; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none 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 A5042114D4 for ; Tue, 9 Apr 2024 20:13:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ruFxa-0008JM-No; Tue, 09 Apr 2024 14:12:42 -0400 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 1ruFxU-0008Iu-7l for help-guix@gnu.org; Tue, 09 Apr 2024 14:12:36 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ruFxS-0007HS-CQ for help-guix@gnu.org; Tue, 09 Apr 2024 14:12:36 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 549191AE26 for ; Tue, 9 Apr 2024 11:12:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=reproducible-builds.org; s=1.vagrant; t=1712686346; bh=4A97WWuBpUrFS0ZC2wcfd3tzLPCzzIsjFfwPLBiy9gg=; h=From:To:Subject:Date:From; b=3xh6pBzkKSbeDROi8ZftYt/mix0eQYSQVS6tnguENpsxRaL/0Dc6vAuFDJAA69LeA b7JPMaBXA4W6mW5UdWlDw06iGcZbkpdcNn9YJt0n++B1Jv8Q3IsJxS8RwtrcXF7Cf1 SEbtAzJ5M8SygHQk8+lhhuFm+vecGMsqNt/CtB1BxB+KPUkR6ABxFUqS+D7sQ15uYt LOyyGhk+FHm2gAQohDSDgAsItrXCff4/wH6i7A9vjTf1LXMarezcUNkvinDZu9/501 GOnUy7Djfx2MBuEN5D6nv8FGbyf/DCi88h9DlrEUmruWTbE+cUKDxsJBQknHoimwd8 IOPzUdKZ4T8lw== From: Vagrant Cascadian To: help-guix@gnu.org Subject: Transformations to add or remove inputs? Date: Tue, 09 Apr 2024 11:12:22 -0700 Message-ID: <87cyqy4d89.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2600:3c01:e000:267:0:a171:de7:c; envelope-from=vagrant@reproducible-builds.org; helo=cascadia.aikidev.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -7.67 X-Spam-Score: -7.67 X-Migadu-Queue-Id: A5042114D4 X-Migadu-Scanner: mx13.migadu.com X-TUID: nLixqdY5lwaM --=-=-= Content-Type: text/plain In trying to verify weather adding or removing an input affects a package, I was wondering if there are any transformations to do so, rather than having to edit the package definition, build the guix checkout, etc. or play games with guix time-machine. It seems like --with-input almost gets you there, at least for removing dependencies, you can do something like: guix build --with-input=r-minimal=perl diffoscope But obviously, this no longer has r-minimal. I'd want something almost like: guix build --add-input=perl diffoscope Or: guix build --remove-input=r-minimal diffoscope Is there a trivial way to do this sort of thing already? This seems similar in spirit to --with-patch, which adds a patch to the package definition... live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZhWFBgAKCRDcUY/If5cW quwhAQDM/yeb9uCUEQAZoDvQFRZPBYczidiIU1OvL5kFMthFJQD+PrxLmMwmCDwL nkno+BMG09s2mJ1sUTaos3PdGCsUWAc= =wxZj -----END PGP SIGNATURE----- --=-=-=--