gnu: emacs-next-tree-sitter: Inherit from emacs-next.

Make tree-sitter emacs available without pgtk.  It's part of ongoing
iheritance hierarchy update, tree-sitter have less implications than pgtk and
thus it should be placed earlier in inheritance chain. For more details:
https://yhetil.org/guix-devel/87r0txr99u.fsf@inventati.org/T/#u

* gnu/packages/emacs.scm (emacs-next-tree-sitter): Inherit from emacs-next.
This commit is contained in:
Andrew Tropin 2023-03-11 11:14:21 +04:00
parent f35519fc34
commit 110406dcc3
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

@ -442,12 +442,12 @@ (define-public emacs-next-tree-sitter
(let ((commit "ac7ec87a7a0db887e4ae7fe9005aea517958b778")
(revision "0"))
(package
(inherit emacs-next-pgtk)
(inherit emacs-next)
(name "emacs-next-tree-sitter")
(version (git-version "30.0.50" revision commit))
(source
(origin
(inherit (package-source emacs-next-pgtk))
(inherit (package-source emacs-next))
(method git-fetch)
(uri (git-reference
(url "https://git.savannah.gnu.org/git/emacs.git/")
@ -457,11 +457,10 @@ (define-public emacs-next-tree-sitter
(base32
"1akq6dbllwwqwx21wnwnv6aax1nsi2ypbd7j3i79sw62s3gf399z"))))
(inputs
(modify-inputs (package-inputs emacs-next-pgtk)
(modify-inputs (package-inputs emacs-next)
(prepend sqlite tree-sitter)))
(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."))))
(synopsis "Emacs text editor with @code{tree-sitter} support")
(description "This Emacs build supports tree-sitter."))))
(define-public emacs-minimal
;; This is the version that you should use as an input to packages that just