me
/
guix
Archived
1
0
Fork 0

gnu: Add emacs-next.

* gnu/packages/emacs.scm (emacs->emacs-next, emacs-next): New variable.
master
Liliana Marie Prikler 2023-09-09 16:29:07 +02:00
parent 1aa5537dfe
commit f65a727cb3
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 17 additions and 1 deletions

View File

@ -86,7 +86,8 @@
#:use-module (gnu packages xorg)
#:use-module (guix utils)
#:use-module (ice-9 match)
#:use-module (srfi srfi-1))
#:use-module (srfi srfi-1)
#:export (emacs->emacs-next))
(define (%emacs-modules build-system)
(let ((which (build-system-name build-system)))
@ -499,6 +500,21 @@ editor (with wide ints)" )
(sha256
(base32 "00mwpq1msr3jij281w5piqmbwq968xr8dn9hqbf4r947ck754kn9")))))))
(define* (emacs->emacs-next emacs #:optional name
#:key (version (package-version emacs-next-minimal))
(source (package-source emacs-next-minimal)))
(package
(inherit emacs)
(name (or name
(and (string-prefix? "emacs" (package-name emacs))
(string-append "emacs-next"
(string-drop (package-name emacs)
(string-length "emacs"))))))
(version version)
(source source)))
(define-public emacs-next (emacs->emacs-next emacs))
(define-public guile-emacs
(let ((commit "41120e0f595b16387eebfbf731fff70481de1b4b")
(revision "0"))