unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* change package name
@ 2021-07-12  0:58 Andy Tai
  2021-07-12  2:02 ` Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Tai @ 2021-07-12  0:58 UTC (permalink / raw)
  To: help-guix

Hi, I wonder if the receipt of an application has been in the guix package
repo for some time, is there a way to rename it (while automatically
updating existing installation to the new name)?
The reason for this question is that I contributed package receipt to guix
but now I think maybe the name used should be more specific.  Thanks

-- 
Andy Tai, atai@atai.org
Year 2021 民國110年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能

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

* Re: change package name
  2021-07-12  0:58 change package name Andy Tai
@ 2021-07-12  2:02 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2021-07-12  2:02 UTC (permalink / raw)
  To: Andy Tai; +Cc: help-guix

On Sun, Jul 11, 2021 at 05:58:08PM -0700, Andy Tai wrote:
> Hi, I wonder if the receipt of an application has been in the guix package
> repo for some time, is there a way to rename it (while automatically
> updating existing installation to the new name)?
> The reason for this question is that I contributed package receipt to guix
> but now I think maybe the name used should be more specific.  Thanks

Yes, you can use deprecated-package:

https://git.savannah.gnu.org/cgit/guix.git/tree/guix/packages.scm?h=v1.3.0#n461

For example, as in commit 5225626ffcdc29a62e8e089abcbb3d304febd2f2:

https://git.savannah.gnu.org/cgit/guix.git/commit/?id=5225626ffcdc29a62e8e089abcbb3d304febd2f2

Installations of the deprecated package will be automatically "upgraded"
to the renamed package.


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

end of thread, other threads:[~2021-07-12  2:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-12  0:58 change package name Andy Tai
2021-07-12  2:02 ` Leo Famulari

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).