summaryrefslogtreecommitdiff
path: root/gnu/packages/emacs.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-05-21 22:51:00 +0200
committerLudovic Courtès <ludo@gnu.org>2019-05-22 00:09:42 +0200
commit4e941436c798593d3bb62cbff8ba9a6c22f75339 (patch)
tree1d39ecaca8fc10bb741ab0f8fd2da3ce0aed89c2 /gnu/packages/emacs.scm
parent494978c4a1de41c84214dc2de82cd1dcf173ab17 (diff)
gnu: emacs-minimal, emacs-xwidgets: Build with "--disable-build-details".
* gnu/packages/emacs.scm (emacs-minimal)[arguments]: Use 'substitute-keyword-arguments' for #:configure-flags, and pass "--disable-build-details". (emacs-xwidgets)[arguments]: Likewise.
Diffstat (limited to 'gnu/packages/emacs.scm')
-rw-r--r--gnu/packages/emacs.scm19
1 files changed, 10 insertions, 9 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index c9eaab781b..e18db26821 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Mark H Weaver <mhw@netris.org>
@@ -203,11 +203,12 @@ languages.")
(synopsis "The extensible text editor (used only for byte-compilation)")
(build-system gnu-build-system)
(arguments
- `(,@(substitute-keyword-arguments (package-arguments emacs)
- ((#:phases phases)
- `(modify-phases ,phases
- (delete 'install-site-start))))
- #:configure-flags (list "--with-gnutls=no")))
+ (substitute-keyword-arguments (package-arguments emacs)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (delete 'install-site-start)))
+ ((#:configure-flags flags ''())
+ `(list "--with-gnutls=no" "--disable-build-details"))))
(inputs
`(("ncurses" ,ncurses)))
(native-inputs
@@ -221,9 +222,9 @@ languages.")
editor (with xwidgets support)")
(build-system gnu-build-system)
(arguments
- `(#:configure-flags
- '("--with-xwidgets")
- ,@(package-arguments emacs)))
+ (substitute-keyword-arguments (package-arguments emacs)
+ ((#:configure-flags flags ''())
+ `(cons "--with-xwidgets" ,flags))))
(inputs
`(("webkitgtk" ,webkitgtk)
("libxcomposite" ,libxcomposite)