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>
This commit is contained in:
Maxime Devos 2021-04-30 22:53:12 +02:00 committed by Ricardo Wurmus
parent a496afd8fc
commit 50c2dcd1c9
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 2 additions and 1 deletions

View File

@ -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.