all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: 27087@debbugs.gnu.org
Subject: bug#27087: [PATCH 3/3] gnu: emacs-let-alist: Use 'emacs-build-system'.
Date: Fri, 26 May 2017 18:21:23 +0300	[thread overview]
Message-ID: <20170526152123.5442-3-alezost@gmail.com> (raw)
In-Reply-To: <20170526152123.5442-1-alezost@gmail.com>

* gnu/packages/emacs.scm (let-alist): Use 'emacs-build-system'.
[arguments, native-inputs]: Remove.
---
 gnu/packages/emacs.scm | 25 +------------------------
 1 file changed, 1 insertion(+), 24 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 7494d9e08..36faa7c25 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
-- 
2.13.0

  parent reply	other threads:[~2017-05-26 15:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-26 15:16 bug#27087: Simplify some emacs packages by using emacs-build-system Alex Kost
2017-05-26 15:21 ` bug#27087: [PATCH 1/3] gnu: git-modes: Use 'emacs-build-system' Alex Kost
2017-05-26 15:21   ` bug#27087: [PATCH 2/3] gnu: emacs-paredit: " Alex Kost
2017-05-26 15:21   ` Alex Kost [this message]
2017-05-30 21:48 ` bug#27087: Simplify some emacs packages by using emacs-build-system Ricardo Wurmus
2017-06-01  7:57   ` Alex Kost

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170526152123.5442-3-alezost@gmail.com \
    --to=alezost@gmail.com \
    --cc=27087@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.