gnu: emacs-nix-mode: Move to package-management.scm.

Reported by Christopher Baines.
This fixes a top-level reference among mutually-dependent modules.

* gnu/packages/emacs.scm (emacs-nix-mode): Move to...
* gnu/packages/package-management.scm (emacs-nix-mode): ... here.
This commit is contained in:
Ludovic Courtès 2017-08-25 21:43:23 +02:00
parent 9e1fe3d0c3
commit a881a40cea
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
2 changed files with 19 additions and 17 deletions

View file

@ -5258,23 +5258,6 @@ 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")