[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72406] [PATCH emacs-team WIP v4 02/24] build-system: emacs: Make em
From: |
Liliana Marie Prikler |
Subject: |
[bug#72406] [PATCH emacs-team WIP v4 02/24] build-system: emacs: Make emacs the default variant. |
Date: |
Sun, 11 Aug 2024 14:58:43 +0200 |
* guix/build-system/emacs.scm (resolve-emacs): New variable.
(default-emacs): Use it. Change to ‘emacs’ instead of ‘emacs-minimal’.
---
guix/build-system/emacs.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/guix/build-system/emacs.scm b/guix/build-system/emacs.scm
index 3a11738496..88304b9ce1 100644
--- a/guix/build-system/emacs.scm
+++ b/guix/build-system/emacs.scm
@@ -49,11 +49,13 @@ (define %emacs-build-system-modules
(guix build emacs-utils)
,@%gnu-build-system-modules))
-(define (default-emacs)
- "Return the default Emacs package."
+(define* (resolve-emacs name)
+ "Lazily resolve the emacs package by variable NAME."
;; Lazily resolve the binding to avoid a circular dependency.
(let ((emacs-mod (resolve-interface '(gnu packages emacs))))
- (module-ref emacs-mod 'emacs-minimal)))
+ (module-ref emacs-mod name)))
+
+(define (default-emacs) (resolve-emacs 'emacs))
(define* (lower name
#:key source inputs native-inputs outputs system target
--
2.45.2
- [bug#72406] [PATCH emacs-team WIP v4 00/24] Build variants for other Emacsen, Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 01/24] build-system: emacs: Define package-with-explicit-emacs., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 06/24] gnu: emacs-libgit: Build variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 04/24] build-system: emacs: Handle variants in elpa naming., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 08/24] gnu: emacs-tablist: Define variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 07/24] gnu: emacs-eweouz: Build variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 02/24] build-system: emacs: Make emacs the default variant.,
Liliana Marie Prikler <=
- [bug#72406] [PATCH emacs-team WIP v4 12/24] gnu: emacs-dash: Define variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 11/24] gnu: emacs-bui: Define variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 10/24] gnu: emacs-fontaine: Reindent., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 15/24] gnu: emacs-geiser-guile: Define variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 05/24] etc: Provide snippet for defining emacs variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 09/24] gnu: emacs-pdf-tools: Build variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 14/24] gnu: emacs-geiser: Define variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 17/24] gnu: emacs-guix: Build variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 18/24] [WIP] gnu: emacs-dvc: Build variants., Liliana Marie Prikler, 2024/08/11
- [bug#72406] [PATCH emacs-team WIP v4 03/24] build-system: emacs: Define common variants., Liliana Marie Prikler, 2024/08/11