all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 55419@debbugs.gnu.org
Subject: [bug#55419] [PATCH 4/5] gnu: emacs-no-x-toolkit: Use new package style.
Date: Sun, 15 May 2022 00:11:22 +0200	[thread overview]
Message-ID: <d4ca5b68c1c596770debd56bfe4cc100ff4e0a94.camel@gmail.com> (raw)
In-Reply-To: <e972aff8517c1050d8352bfc928cd1d1649ae0c8.camel@gmail.com>

* gnu/packages/emacs.scm (emacs-no-x-toolkit)[arguments]: Convert to list of
G-Expressions.
[inputs]: Use modify-inputs.
---
 gnu/packages/emacs.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 027afc811a..392b3297b0 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -428,14 +428,15 @@ (define-public emacs-no-x-toolkit
     (synopsis "The extensible, customizable, self-documenting text
 editor (without an X toolkit)" )
     (build-system gnu-build-system)
-    (inputs (append `(("inotify-tools" ,inotify-tools))
-                    (alist-delete "gtk+" (package-inputs emacs))))
+    (inputs (modify-inputs (package-inputs emacs)
+              (delete "gtk+")
+              (prepend inotify-tools)))
     (arguments
      (substitute-keyword-arguments (package-arguments emacs)
-       ((#:configure-flags flags ''())
-        `(cons "--with-x-toolkit=no" ,flags))
+       ((#:configure-flags flags #~'())
+        #~(cons "--with-x-toolkit=no" #$flags))
        ((#:phases phases)
-        `(modify-phases ,phases
+        #~(modify-phases #$phases
            (delete 'restore-emacs-pdmp)
            (delete 'strip-double-wrap)))))))
 
-- 
2.36.0





  parent reply	other threads:[~2022-05-14 22:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-14 22:14 [bug#55419] [PATCH 0/5] Use new package style for Emacs variants Liliana Marie Prikler
2022-05-14 22:07 ` [bug#55419] [PATCH 1/5] gnu: emacs-next-pgtk: Use new package style Liliana Marie Prikler
2022-05-14 22:10 ` [bug#55419] [PATCH 2/5] gnu: emacs-xwidgets: " Liliana Marie Prikler
2022-05-14 22:10 ` [bug#55419] [PATCH 3/5] gnu: emacs-no-x: " Liliana Marie Prikler
2022-05-14 22:11 ` Liliana Marie Prikler [this message]
2022-05-14 22:11 ` [bug#55419] [PATCH 5/5] gnu: emacs-wide-int: " Liliana Marie Prikler
2022-05-15  8:43 ` [bug#55419] [PATCH 0/5] Use new package style for Emacs variants Maxime Devos
2022-05-15 11:14   ` bug#55419: " Liliana Marie Prikler

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=d4ca5b68c1c596770debd56bfe4cc100ff4e0a94.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=55419@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.