aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2017-05-26 17:57:43 +0300
committerAlex Kost <alezost@gmail.com>2017-06-01 10:56:11 +0300
commit3d01b2939fc2544e7cc7a33462034ab4c9491509 (patch)
tree3afa8fa5f4eeab231318bc23b1acb1b12d2a864d
parente99039b5da6dfbc49a2f8cf0fb523a8049fe5ef8 (diff)
downloadpatches-3d01b2939fc2544e7cc7a33462034ab4c9491509.tar
patches-3d01b2939fc2544e7cc7a33462034ab4c9491509.tar.gz
gnu: git-modes: Use 'emacs-build-system'.
* gnu/packages/emacs.scm (git-modes): Use 'emacs-build-system'. [arguments, native-inputs]: Remove.
-rw-r--r--gnu/packages/emacs.scm26
1 files changed, 1 insertions, 25 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 05fa34153b..9827a8fc48 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -386,31 +386,7 @@ when typing parentheses directly or commenting out code line by line.")
(sha256
(base32
"0xxrmf0jnyljxvllc22qa0v8lgi4k1ldnayjm5hf68m25jsr378l"))))
- (build-system gnu-build-system)
- (arguments
- `(#:modules ((guix build gnu-build-system)
- (guix build emacs-utils)
- (guix build utils))
- #:imported-modules (,@%gnu-build-system-modules
- (guix build emacs-utils))
-
- #:make-flags (list (string-append "PREFIX="
- (assoc-ref %outputs "out"))
- ;; Don't put .el files in a 'git-modes'
- ;; sub-directory.
- (string-append "LISPDIR="
- (assoc-ref %outputs "out")
- "/share/emacs/site-lisp"))
- #:tests? #f ; no check target
- #:phases (modify-phases %standard-phases
- (delete 'configure)
- (add-after 'install 'emacs-autoloads
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (lisp (string-append
- out "/share/emacs/site-lisp/")))
- (emacs-generate-autoloads ,name lisp)))))))
- (native-inputs `(("emacs" ,emacs-minimal)))
+ (build-system emacs-build-system)
(home-page "https://github.com/magit/git-modes")
(synopsis "Emacs major modes for Git configuration files")
(description