diff options
author | Alex Kost <alezost@gmail.com> | 2017-05-26 18:02:55 +0300 |
---|---|---|
committer | Alex Kost <alezost@gmail.com> | 2017-06-01 10:56:11 +0300 |
commit | 3e9afff873428f979b210aa41bb3f978b637449f (patch) | |
tree | 9b29b067e7b64889539ceb76af43e55de1914e57 | |
parent | 79b3c9305a0d7aba9d062449198f72860aa175bd (diff) | |
download | guix-3e9afff873428f979b210aa41bb3f978b637449f.tar guix-3e9afff873428f979b210aa41bb3f978b637449f.tar.gz |
gnu: emacs-let-alist: Use 'emacs-build-system'.
* gnu/packages/emacs.scm (let-alist): Use 'emacs-build-system'.
[arguments, native-inputs]: Remove.
-rw-r--r-- | gnu/packages/emacs.scm | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 103e354543..81a74d1fb5 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -649,30 +649,7 @@ programs.") (sha256 (base32 "07312bvvyz86lf64vdkxg2l1wgfjl25ljdjwlf1bdzj01c4hm88x")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils) - (guix build emacs-utils)) - - #:builder (begin - (use-modules (guix build emacs-utils) - (guix build utils)) - - (let* ((out (assoc-ref %outputs "out")) - (lispdir (string-append out - "/share/emacs/site-lisp/" - "guix.d/let-alist-" - ,version)) - (emacs (assoc-ref %build-inputs "emacs"))) - - (mkdir-p lispdir) - (copy-file (assoc-ref %build-inputs "source") - (string-append lispdir "/let-alist.el")) - - (setenv "PATH" (string-append emacs "/bin")) - (emacs-byte-compile-directory lispdir) - #t)))) - (native-inputs `(("emacs" ,emacs-minimal))) + (build-system emacs-build-system) (home-page "https://elpa.gnu.org/packages/let-alist.html") (synopsis "Easily let-bind values of an assoc-list by their names") (description |