help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Transformations to add or remove inputs?


From: Vagrant Cascadian
Subject: Transformations to add or remove inputs?
Date: Tue, 09 Apr 2024 11:12:22 -0700

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: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]