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.
This commit is contained in:
Ludovic Courtès 2023-05-10 00:00:53 +02:00
parent 1be5bf5604
commit fbea62f829
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
2 changed files with 17 additions and 16 deletions

View file

@ -36259,22 +36259,6 @@ (define-public emacs-fennel-mode
Fennel code within Emacs.")
(license license:gpl3+))))
(define-public emacs-gerbil-mode
(package
(inherit gerbil)
(name "emacs-gerbil-mode")
(version "1.0")
(build-system emacs-build-system)
(arguments
(list #:phases #~(modify-phases %standard-phases
(add-before 'install 'change-directory
(lambda _
(chdir "etc"))))))
(synopsis "Emacs major-mode for editing Gerbil code")
(description
"Gerbil mode provides font-lock, indentation, navigation, and REPL for
Gerbil code within Emacs.")))
(define-public emacs-org-modern
(package
(name "emacs-org-modern")

View file

@ -51,6 +51,7 @@ (define-module (gnu packages scheme)
#:use-module (guix utils)
#:use-module (guix build-system asdf)
#:use-module (guix build-system copy)
#:use-module (guix build-system emacs)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
#:use-module (gnu packages autotools)
@ -1211,3 +1212,19 @@ (define-public gerbil
time compilation and compiled macros.")
(home-page "https://cons.io")
(license `(,lgpl2.1 ,asl2.0))))
(define-public emacs-gerbil-mode
(package
(inherit gerbil)
(name "emacs-gerbil-mode")
(version "1.0")
(build-system emacs-build-system)
(arguments
(list #:phases #~(modify-phases %standard-phases
(add-before 'install 'change-directory
(lambda _
(chdir "etc"))))))
(synopsis "Emacs major-mode for editing Gerbil code")
(description
"Gerbil mode provides font-lock, indentation, navigation, and REPL for
Gerbil code within Emacs.")))