From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: [PATCH 1/4] gnu: Add emacs-minimal. Date: Sat, 21 May 2016 14:57:52 +0300 Message-ID: <1463831875-28373-2-git-send-email-alezost@gmail.com> References: <1463831875-28373-1-git-send-email-alezost@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b45Xv-0007TE-RL for guix-devel@gnu.org; Sat, 21 May 2016 07:58:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b45Xm-0003nh-TM for guix-devel@gnu.org; Sat, 21 May 2016 07:58:19 -0400 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]:34792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b45Xm-0003nY-Lg for guix-devel@gnu.org; Sat, 21 May 2016 07:58:10 -0400 Received: by mail-lf0-x241.google.com with SMTP id 65so21704lfq.1 for ; Sat, 21 May 2016 04:58:10 -0700 (PDT) Received: from localhost.localdomain ([217.107.192.156]) by smtp.gmail.com with ESMTPSA id j2sm4184680lfb.13.2016.05.21.04.58.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 21 May 2016 04:58:09 -0700 (PDT) In-Reply-To: <1463831875-28373-1-git-send-email-alezost@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/emacs.scm (emacs-minimal): New variable. --- gnu/packages/emacs.scm | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 18898e9..c032869 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -167,10 +167,25 @@ large Lisp programs. It has full Unicode support for nearly all human languages.") (license license:gpl3+))) -(define-public emacs-no-x +(define-public emacs-minimal ;; This is the version that you should use as an input to packages that just ;; need to byte-compile .el files. (package (inherit emacs) + (name "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))))) + (inputs + `(("ncurses" ,ncurses))) + (native-inputs + `(("pkg-config" ,pkg-config))))) + +(define-public emacs-no-x + (package (inherit emacs) (name "emacs-no-x") (synopsis "The extensible, customizable, self-documenting text editor (console only)") -- 2.7.3