From 4e941436c798593d3bb62cbff8ba9a6c22f75339 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 21 May 2019 22:51:00 +0200 Subject: 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. --- gnu/packages/emacs.scm | 19 ++++++++++--------- 1 file 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 +;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2019 Ludovic Courtès ;;; Copyright © 2013 Andreas Enge ;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Mark H Weaver @@ -203,11 +203,12 @@ (define-public emacs-minimal (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 @@ (define-public emacs-xwidgets 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) -- cgit v1.2.3