diff options
author | Oleg Pykhalov <go.wigust@gmail.com> | 2017-08-12 09:48:53 +0300 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2017-08-13 13:20:30 +0530 |
commit | f7e8302b4e04616d88b74efc3fb526a2690dadf2 (patch) | |
tree | cd5df46ffaa91da603dabbd647fd69b31ff09a10 /gnu/packages/emacs.scm | |
parent | f4c808df5b99bbe6d7a307c69ad27da5b17703d1 (diff) | |
download | guix-f7e8302b4e04616d88b74efc3fb526a2690dadf2.tar guix-f7e8302b4e04616d88b74efc3fb526a2690dadf2.tar.gz |
gnu: Add emacs-nix-mode.
* gnu/packages/emacs.scm (emacs-nix-mode): New variable.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
Diffstat (limited to 'gnu/packages/emacs.scm')
-rw-r--r-- | gnu/packages/emacs.scm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index bb5d2349fd..5a69990c67 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -5226,6 +5226,23 @@ multiplexer.") editing RPM spec files.") (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 (package (name "emacs-git-messenger") |