mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add emacs-no-x.
* gnu/packages/emacs.scm (emacs-no-x): New variable.
This commit is contained in:
parent
fa275717d8
commit
4fd540b7f0
1 changed files with 17 additions and 0 deletions
|
@ -114,6 +114,23 @@ large Lisp programs. It has full Unicode support for nearly all human
|
||||||
languages.")
|
languages.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
|
(define-public emacs-no-x
|
||||||
|
;; This is the version that you should use as an input to packages that just
|
||||||
|
;; need to byte-compile .el files.
|
||||||
|
(package (inherit emacs)
|
||||||
|
(location (source-properties->location (current-source-location)))
|
||||||
|
(name "emacs-no-x")
|
||||||
|
(synopsis "The extensible, customizable, self-documenting text
|
||||||
|
editor (console only)")
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(inputs (fold alist-delete
|
||||||
|
(package-inputs emacs)
|
||||||
|
'("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
|
||||||
|
"libpng" "libxpm" "libice" "libsm"
|
||||||
|
|
||||||
|
;; D-Bus depends on libx11, so remove it as well.
|
||||||
|
"dbus")))))
|
||||||
|
|
||||||
(define-public emacs-no-x-toolkit
|
(define-public emacs-no-x-toolkit
|
||||||
(package (inherit emacs)
|
(package (inherit emacs)
|
||||||
(location (source-properties->location (current-source-location)))
|
(location (source-properties->location (current-source-location)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue