all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Transformations to add or remove inputs?
@ 2024-04-09 18:12 Vagrant Cascadian
  2024-04-09 19:21 ` Tomas Volf
  0 siblings, 1 reply; 2+ messages in thread
From: Vagrant Cascadian @ 2024-04-09 18:12 UTC (permalink / raw)
  To: help-guix

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-09 19:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-09 18:12 Transformations to add or remove inputs? Vagrant Cascadian
2024-04-09 19:21 ` Tomas Volf

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.