diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2022-05-15 00:11:22 +0200 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2022-05-15 09:17:23 +0200 |
commit | 484dd71a085fb1ef845fde4fa5920b7279883228 (patch) | |
tree | 5e2431b297598708f821168850e2544db746384f /gnu/packages/emacs.scm | |
parent | 4949188d465dd008c73c54d71baa2def676a445a (diff) | |
download | guix-484dd71a085fb1ef845fde4fa5920b7279883228.tar.gz |
gnu: emacs-no-x-toolkit: Use new package style.
* gnu/packages/emacs.scm (emacs-no-x-toolkit)[arguments]: Convert to list of G-Expressions. [inputs]: Use modify-inputs.
Diffstat (limited to 'gnu/packages/emacs.scm')
-rw-r--r-- | gnu/packages/emacs.scm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index d46b194441..4c63b4ab5b 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -423,14 +423,15 @@ editor (console only)") (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))))))) |