aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/emacs.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 3d0368be4e..cac3f0e977 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2019 Valentin Ignatev <valentignatev@gmail.com>
;;; Copyright © 2019 Leo Prikler <leo.prikler@student.tugraz.at>
;;; Copyright © 2019 Amin Bandali <bandali@gnu.org>
+;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -357,6 +358,34 @@ languages.")
(native-inputs
`(("pkg-config" ,pkg-config)))))
+(define-public emacs-next-minimal
+ (package
+ (inherit emacs-next)
+ (name "emacs-next-minimal")
+ (synopsis (package-synopsis emacs-minimal))
+ (build-system gnu-build-system)
+ (inputs
+ `(("jansson" ,jansson)
+ ("texinfo" ,texinfo)
+ ,@(package-inputs emacs-minimal)))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ,@(package-native-inputs emacs-minimal)))
+ (arguments
+ (substitute-keyword-arguments (package-arguments emacs-next)
+ ((#:modules _)
+ `((guix build emacs-utils)
+ ,@%gnu-build-system-modules))
+ ((#:imported-modules _)
+ `((guix build emacs-utils)
+ ,@%gnu-build-system-modules))
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (delete 'install-site-start)
+ (delete 'restore-emacs-pdmp)))
+ ((#:configure-flags flags ''())
+ `(list "--with-gnutls=no" "--disable-build-details"))))))
+
(define-public emacs-xwidgets
(package
(inherit emacs)