gnu: Add emacs-nix-mode.
* gnu/packages/emacs.scm (emacs-nix-mode): New variable. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
This commit is contained in:
parent
f4c808df5b
commit
f7e8302b4e
|
@ -5226,6 +5226,23 @@ multiplexer.")
|
||||||
editing RPM spec files.")
|
editing RPM spec files.")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
|
(define-public emacs-nix-mode
|
||||||
|
(package
|
||||||
|
(inherit nix)
|
||||||
|
(name "emacs-nix-mode")
|
||||||
|
(build-system emacs-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'chdir-elisp
|
||||||
|
;; Elisp directory is not in root of the source.
|
||||||
|
(lambda _
|
||||||
|
(chdir "misc/emacs"))))))
|
||||||
|
(synopsis "Emacs major mode for editing Nix expressions")
|
||||||
|
(description "@code{nixos-mode} provides an Emacs major mode for editing
|
||||||
|
Nix expressions. It supports syntax highlighting, indenting and refilling of
|
||||||
|
comments.")))
|
||||||
|
|
||||||
(define-public emacs-git-messenger
|
(define-public emacs-git-messenger
|
||||||
(package
|
(package
|
||||||
(name "emacs-git-messenger")
|
(name "emacs-git-messenger")
|
||||||
|
|
Loading…
Reference in New Issue