all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* WDYT of guix remove flag that is like sed -i?
@ 2023-04-23 15:06 jgart
  0 siblings, 0 replies; only message in thread
From: jgart @ 2023-04-23 15:06 UTC (permalink / raw)
  To: guix-devel

hi,

WDYT of a `guix remove` flag that is like sed -i that removes the package from the module it is in?

It is like `sed -i` but works on guix packages/sexps themselves.

For example, I as the user would be able to do the following

`guix remove -i chezmoi` and it would remove the chezmoi package cleanly from gnu/packages/configuration-management.scm:31:2

If I also pass in the -r flag then it will also remove all the direct dependencies of chezmoi.

Might be cool and powerful to be able to have a flag to remove dependents as well.

I realize that this better serves the particular use cases of a channel like Guix 'R Us that is constantly needing to remove packages that it has upstreamed in an efficient manner. Still, this would be cool functionality to have.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-23 15:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-23 15:06 WDYT of guix remove flag that is like sed -i? jgart

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.