mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-02 16:17:27 +01: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 @@ (define-public emacs-next
|
|||
(modify-inputs (package-native-inputs emacs)
|
||||
(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
|
||||
(let ((commit "ac7ec87a7a0db887e4ae7fe9005aea517958b778")
|
||||
(revision "0"))
|
||||
|
@ -462,6 +444,24 @@ (define-public emacs-next-tree-sitter
|
|||
(synopsis "Emacs text editor with @code{tree-sitter} support")
|
||||
(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
|
||||
;; This is the version that you should use as an input to packages that just
|
||||
;; need to byte-compile .el files.
|
||||
|
|
Loading…
Reference in a new issue