summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2021-04-30 22:53:12 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-08-07 14:01:20 +0200
commit50c2dcd1c977f98681a4e457b2bcf09d96588eee (patch)
tree591b2b9e070352701f60a7966df43c27e42fd088
parenta496afd8fcde6f486f2190271dedca496ed42b81 (diff)
downloadguix-50c2dcd1c977f98681a4e457b2bcf09d96588eee.tar.gz
etc: committer: Support reading G-expressions.
Some package definitions use G-expressions (see, e.g., chez-scheme).
Import (guix gexp) such that Guile knows how to read those.
Otherwise, an exception such as the following might be raised:

ERROR: In procedure read:
In procedure scm_lreadr: gnu/services/networking.scm:480:16: Unknown # object: #\~

* etc/committer.scm.in: Import (guix gexp).

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
-rwxr-xr-xetc/committer.scm.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/committer.scm.in b/etc/committer.scm.in
index 96cd1fbf0b..5696df8b8e 100755
--- a/etc/committer.scm.in
+++ b/etc/committer.scm.in
@@ -36,7 +36,8 @@
         (ice-9 popen)
         (ice-9 match)
         (ice-9 rdelim)
-        (ice-9 textual-ports))
+        (ice-9 textual-ports)
+        (guix gexp))
 
 (define* (break-string str #:optional (max-line-length 70))
   "Break the string STR into lines that are no longer than MAX-LINE-LENGTH.