unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: help-guix@gnu.org
Subject: Transformations to add or remove inputs?
Date: Tue, 09 Apr 2024 11:12:22 -0700	[thread overview]
Message-ID: <87cyqy4d89.fsf@wireframe> (raw)

[-- Attachment #1: Type: text/plain, Size: 773 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

             reply	other threads:[~2024-04-09 18:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-09 18:12 Vagrant Cascadian [this message]
2024-04-09 19:21 ` Transformations to add or remove inputs? Tomas Volf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cyqy4d89.fsf@wireframe \
    --to=vagrant@reproducible-builds.org \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).