diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-03-05 21:38:32 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-03-05 21:38:51 +0200 |
commit | f862697b5c11a14a1bbc59adc4cfd90bc2526124 (patch) | |
tree | 76fe5a4cd84afa4ba23b4b03ac3192bd9cc832ce | |
parent | 7e80767dc3094c73a245e5a163bca88d9980c150 (diff) | |
download | guix-f862697b5c11a14a1bbc59adc4cfd90bc2526124.tar.gz |
gnu: emacs-no-x-toolkit: Fix configure flags.
* gnu/packages/emacs.scm (emacs-no-x-toolkit)[arguments]: Don't lose custom configure flags.
-rw-r--r-- | gnu/packages/emacs.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 34b70fe9e8..1e76f0821c 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -251,8 +251,10 @@ editor (without an X toolkit)" ) (build-system gnu-build-system) (inputs (append `(("inotify-tools" ,inotify-tools)) (alist-delete "gtk+" (package-inputs emacs)))) - (arguments (append '(#:configure-flags '("--with-x-toolkit=no")) - (package-arguments emacs))))) + (arguments + `(,@(substitute-keyword-arguments (package-arguments emacs) + ((#:configure-flags cf) + `(cons "--with-x-toolkit=no" ,cf))))))) (define-public guile-emacs (let ((commit "41120e0f595b16387eebfbf731fff70481de1b4b") |