diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2023-05-10 00:00:53 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2023-05-10 00:23:53 +0200 |
| commit | fbea62f829f92da63b65d96d09a2a48b77b2c3d1 (patch) | |
| tree | dac2132fc39aca190cb2e8e477468553204ab971 /gnu | |
| parent | 1be5bf560459d32943a82c2d3f60a1fc2ca53437 (diff) | |
gnu: emacs-gerbil-mode: Move to scheme.scm.
This fixes a bug due to a top-level circular reference:
$ guix show scheme48
[...]
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
error: gerbil: unbound variable
* gnu/packages/emacs-xyz.scm (emacs-gerbil-mode): Move to...
* gnu/packages/scheme.scm (emacs-gerbil-mode): ... here.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/emacs-xyz.scm | 16 | ||||
| -rw-r--r-- | gnu/packages/scheme.scm | 17 |
2 files changed, 17 insertions, 16 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 4ddd9a36dd4..a5d14533980 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm | |||
| @@ -36259,22 +36259,6 @@ audio volume via amixer.") | |||
| 36259 | Fennel code within Emacs.") | 36259 | Fennel code within Emacs.") |
| 36260 | (license license:gpl3+)))) | 36260 | (license license:gpl3+)))) |
| 36261 | 36261 | ||
| 36262 | (define-public emacs-gerbil-mode | ||
| 36263 | (package | ||
| 36264 | (inherit gerbil) | ||
| 36265 | (name "emacs-gerbil-mode") | ||
| 36266 | (version "1.0") | ||
| 36267 | (build-system emacs-build-system) | ||
| 36268 | (arguments | ||
| 36269 | (list #:phases #~(modify-phases %standard-phases | ||
| 36270 | (add-before 'install 'change-directory | ||
| 36271 | (lambda _ | ||
| 36272 | (chdir "etc")))))) | ||
| 36273 | (synopsis "Emacs major-mode for editing Gerbil code") | ||
| 36274 | (description | ||
| 36275 | "Gerbil mode provides font-lock, indentation, navigation, and REPL for | ||
| 36276 | Gerbil code within Emacs."))) | ||
| 36277 | |||
| 36278 | (define-public emacs-org-modern | 36262 | (define-public emacs-org-modern |
| 36279 | (package | 36263 | (package |
| 36280 | (name "emacs-org-modern") | 36264 | (name "emacs-org-modern") |
diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index 1cfc21d69b7..a0b547bfc73 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm | |||
| @@ -51,6 +51,7 @@ | |||
| 51 | #:use-module (guix utils) | 51 | #:use-module (guix utils) |
| 52 | #:use-module (guix build-system asdf) | 52 | #:use-module (guix build-system asdf) |
| 53 | #:use-module (guix build-system copy) | 53 | #:use-module (guix build-system copy) |
| 54 | #:use-module (guix build-system emacs) | ||
| 54 | #:use-module (guix build-system gnu) | 55 | #:use-module (guix build-system gnu) |
| 55 | #:use-module (guix build-system trivial) | 56 | #:use-module (guix build-system trivial) |
| 56 | #:use-module (gnu packages autotools) | 57 | #:use-module (gnu packages autotools) |
| @@ -1211,3 +1212,19 @@ is that Gerbil modules are single instantiation, supporting high performance ahe | |||
| 1211 | time compilation and compiled macros.") | 1212 | time compilation and compiled macros.") |
| 1212 | (home-page "https://cons.io") | 1213 | (home-page "https://cons.io") |
| 1213 | (license `(,lgpl2.1 ,asl2.0)))) | 1214 | (license `(,lgpl2.1 ,asl2.0)))) |
| 1215 | |||
| 1216 | (define-public emacs-gerbil-mode | ||
| 1217 | (package | ||
| 1218 | (inherit gerbil) | ||
| 1219 | (name "emacs-gerbil-mode") | ||
| 1220 | (version "1.0") | ||
| 1221 | (build-system emacs-build-system) | ||
| 1222 | (arguments | ||
| 1223 | (list #:phases #~(modify-phases %standard-phases | ||
| 1224 | (add-before 'install 'change-directory | ||
| 1225 | (lambda _ | ||
| 1226 | (chdir "etc")))))) | ||
| 1227 | (synopsis "Emacs major-mode for editing Gerbil code") | ||
| 1228 | (description | ||
| 1229 | "Gerbil mode provides font-lock, indentation, navigation, and REPL for | ||
| 1230 | Gerbil code within Emacs."))) | ||
