gnu: emacs-no-x-toolkit: Fix configure flags.

* gnu/packages/emacs.scm (emacs-no-x-toolkit)[arguments]: Don't lose
custom configure flags.
This commit is contained in:
Efraim Flashner 2019-03-05 21:38:32 +02:00
parent 7e80767dc3
commit f862697b5c
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

@ -251,8 +251,10 @@ editor (without an X toolkit)" )
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (append `(("inotify-tools" ,inotify-tools)) (inputs (append `(("inotify-tools" ,inotify-tools))
(alist-delete "gtk+" (package-inputs emacs)))) (alist-delete "gtk+" (package-inputs emacs))))
(arguments (append '(#:configure-flags '("--with-x-toolkit=no")) (arguments
(package-arguments emacs))))) `(,@(substitute-keyword-arguments (package-arguments emacs)
((#:configure-flags cf)
`(cons "--with-x-toolkit=no" ,cf)))))))
(define-public guile-emacs (define-public guile-emacs
(let ((commit "41120e0f595b16387eebfbf731fff70481de1b4b") (let ((commit "41120e0f595b16387eebfbf731fff70481de1b4b")