[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55419] [PATCH 4/5] gnu: emacs-no-x-toolkit: Use new package style.
From: |
Liliana Marie Prikler |
Subject: |
[bug#55419] [PATCH 4/5] gnu: emacs-no-x-toolkit: Use new package style. |
Date: |
Sun, 15 May 2022 00:11:22 +0200 |
* 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
- [bug#55419] [PATCH 0/5] Use new package style for Emacs variants., Liliana Marie Prikler, 2022/05/14
- [bug#55419] [PATCH 1/5] gnu: emacs-next-pgtk: Use new package style., Liliana Marie Prikler, 2022/05/14
- [bug#55419] [PATCH 4/5] gnu: emacs-no-x-toolkit: Use new package style.,
Liliana Marie Prikler <=
- [bug#55419] [PATCH 2/5] gnu: emacs-xwidgets: Use new package style., Liliana Marie Prikler, 2022/05/14
- [bug#55419] [PATCH 3/5] gnu: emacs-no-x: Use new package style., Liliana Marie Prikler, 2022/05/14
- [bug#55419] [PATCH 5/5] gnu: emacs-wide-int: Use new package style., Liliana Marie Prikler, 2022/05/14
- [bug#55419] [PATCH 0/5] Use new package style for Emacs variants., Maxime Devos, 2022/05/15