aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/emacs.scm
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2017-05-26 18:00:06 +0300
committerAlex Kost <alezost@gmail.com>2017-06-01 10:56:11 +0300
commit79b3c9305a0d7aba9d062449198f72860aa175bd (patch)
tree33ca4cc782462d3d22cbe62de48d8ed6b6101b72 /gnu/packages/emacs.scm
parent3d01b2939fc2544e7cc7a33462034ab4c9491509 (diff)
downloadgnu-guix-79b3c9305a0d7aba9d062449198f72860aa175bd.tar
gnu-guix-79b3c9305a0d7aba9d062449198f72860aa175bd.tar.gz
gnu: emacs-paredit: Use 'emacs-build-system'.
* gnu/packages/emacs.scm (paredit): Use 'emacs-build-system'. [arguments, native-inputs]: Remove.
Diffstat (limited to 'gnu/packages/emacs.scm')
-rw-r--r--gnu/packages/emacs.scm23
1 files changed, 1 insertions, 22 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 9827a8fc48..103e354543 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -335,28 +335,7 @@ metadata.")
(sha256
(base32
"0pp3n8q6kc70blqsaw0zlzp6bc327dpgdrjr0cnh7hqg1lras7ka"))))
- (build-system trivial-build-system)
- (native-inputs `(("emacs" ,emacs-minimal)))
- (arguments
- `(#:modules ((guix build utils)
- (guix build emacs-utils))
- #:builder
- (begin
- (use-modules (guix build utils))
- (use-modules (guix build emacs-utils))
-
- (let* ((emacs (string-append (assoc-ref %build-inputs "emacs")
- "/bin/emacs"))
- (source (assoc-ref %build-inputs "source"))
- (lisp-dir (string-append %output
- "/share/emacs/site-lisp"))
- (target (string-append lisp-dir "/paredit.el")))
- (mkdir-p lisp-dir)
- (copy-file source target)
- (with-directory-excursion lisp-dir
- (parameterize ((%emacs emacs))
- (emacs-generate-autoloads ,name lisp-dir)
- (emacs-batch-eval '(byte-compile-file "paredit.el"))))))))
+ (build-system emacs-build-system)
(home-page "http://mumble.net/~campbell/emacs/paredit/")
(synopsis "Emacs minor mode for editing parentheses")
(description