mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
tests: Hide quoted (define-module ...) form from Geiser.
* tests/gexp.scm (%extension-package): Split (define-module ...) form to fool Geiser.
This commit is contained in:
parent
6115ab1d20
commit
e033700f17
1 changed files with 2 additions and 1 deletions
|
@ -78,7 +78,8 @@ (define %extension-package
|
|||
(mkdir-p out)
|
||||
(call-with-output-file (string-append out "/hg2g.scm")
|
||||
(lambda (port)
|
||||
(write '(define-module (hg2g)
|
||||
(define defmod 'define-module) ;fool Geiser
|
||||
(write `(,defmod (hg2g)
|
||||
#:export (the-answer))
|
||||
port)
|
||||
(write '(define the-answer 42) port)))))))))
|
||||
|
|
Loading…
Reference in a new issue