mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-16 12:00:35 +02:00
gnu: emacs-next-pgtk: Inherit from emacs-next-tree-sitter.
Inherit pgtk emacs from tree-sitter to have both features available for wayland users. For more details: https://yhetil.org/guix-devel/87r0txr99u.fsf@inventati.org/T/#u * gnu/packages/emacs.scm (emacs-next-pgtk): Inherit from emacs-next-tree-sitter.
This commit is contained in:
parent
110406dcc3
commit
7001cc68b6
1 changed files with 18 additions and 18 deletions
|
@ -420,24 +420,6 @@ languages.")
|
||||||
(modify-inputs (package-native-inputs emacs)
|
(modify-inputs (package-native-inputs emacs)
|
||||||
(prepend autoconf))))))
|
(prepend autoconf))))))
|
||||||
|
|
||||||
(define-public emacs-next-pgtk
|
|
||||||
(package
|
|
||||||
(inherit emacs-next)
|
|
||||||
(name "emacs-next-pgtk")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(inherit (package-source emacs-next))
|
|
||||||
(patches
|
|
||||||
(append (search-patches "emacs-pgtk-super-key-fix.patch")
|
|
||||||
(origin-patches (package-source emacs-next))))))
|
|
||||||
(arguments
|
|
||||||
(substitute-keyword-arguments (package-arguments emacs-next)
|
|
||||||
((#:configure-flags flags #~'())
|
|
||||||
#~(cons* "--with-pgtk" #$flags))))
|
|
||||||
(synopsis "Emacs text editor with @code{pgtk} support")
|
|
||||||
(description "This Emacs build implements graphical UI purely in terms of
|
|
||||||
GTK.")))
|
|
||||||
|
|
||||||
(define-public emacs-next-tree-sitter
|
(define-public emacs-next-tree-sitter
|
||||||
(let ((commit "ac7ec87a7a0db887e4ae7fe9005aea517958b778")
|
(let ((commit "ac7ec87a7a0db887e4ae7fe9005aea517958b778")
|
||||||
(revision "0"))
|
(revision "0"))
|
||||||
|
@ -462,6 +444,24 @@ GTK.")))
|
||||||
(synopsis "Emacs text editor with @code{tree-sitter} support")
|
(synopsis "Emacs text editor with @code{tree-sitter} support")
|
||||||
(description "This Emacs build supports tree-sitter."))))
|
(description "This Emacs build supports tree-sitter."))))
|
||||||
|
|
||||||
|
(define-public emacs-next-pgtk
|
||||||
|
(package
|
||||||
|
(inherit emacs-next-tree-sitter)
|
||||||
|
(name "emacs-next-pgtk")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(inherit (package-source emacs-next-tree-sitter))
|
||||||
|
(patches
|
||||||
|
(append (search-patches "emacs-pgtk-super-key-fix.patch")
|
||||||
|
(origin-patches (package-source emacs-next-tree-sitter))))))
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments emacs-next-tree-sitter)
|
||||||
|
((#:configure-flags flags #~'())
|
||||||
|
#~(cons* "--with-pgtk" #$flags))))
|
||||||
|
(synopsis "Emacs text editor with @code{pgtk} and @code{tree-sitter} support")
|
||||||
|
(description "This Emacs build implements graphical UI purely in terms
|
||||||
|
of GTK and supports tree-sitter.")))
|
||||||
|
|
||||||
(define-public emacs-minimal
|
(define-public emacs-minimal
|
||||||
;; This is the version that you should use as an input to packages that just
|
;; This is the version that you should use as an input to packages that just
|
||||||
;; need to byte-compile .el files.
|
;; need to byte-compile .el files.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue