* Suggestion: adding version information to Emacs packages
@ 2023-02-13 12:09 Giap Tran
0 siblings, 0 replies; only message in thread
From: Giap Tran @ 2023-02-13 12:09 UTC (permalink / raw)
To: Guix Devel
Dear Guix Developers,
I would like to suggest adding version information to the Guix packages for Emacs.
This would make it easier to know which version is installed,
upgrade/downgrade easily, and avoid confusion with version set to 0.0.0.
This is an example I'm using the version in Guix package to Emacs.
--8<---------------cut here---------------start------------->8---
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after
'unpack 'fix-version
(lambda _
(substitute*
(string-append (string-drop ,name (string-length "emacs-")) ".el")
(("^;; Version: ([^/[:blank:]\r\n]*)(.*)$")
(string-append ";; Version: " ,version "\n"))))))))
--8<---------------cut here---------------end--------------->8---
Best regards,
--
Giap Tran <txgvnn@gmail.com>
GnuPG/0xE655BF766A56995D
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-14 11:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-13 12:09 Suggestion: adding version information to Emacs packages Giap Tran
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).