diff options
author | Maxime Devos <maximedevos@telenet.be> | 2022-03-03 13:57:03 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-03-13 23:18:14 +0100 |
commit | 5aec62ee0f69d691c1c1e322029463beb8bfc3cd (patch) | |
tree | fa2fa53cac8d5274ac0699b0628186e7e9c67392 /guix.scm | |
parent | fce9f13b5417b63a6ba5ae03bd8a2ae82ef0a043 (diff) | |
download | guix-5aec62ee0f69d691c1c1e322029463beb8bfc3cd.tar guix-5aec62ee0f69d691c1c1e322029463beb8bfc3cd.tar.gz |
gexp: Correctly handle unquoting S-exp objects.
This fixes a false-positive in the linter:
guix lint -c 'wrapper-inputs' libaio
* guix/gexp.scm (gexp->approximate-sexp): Allow the 'thing' in <gexp-input> to
be a sexp, without approximation, by testing if it is a record.
* tests/gexp.scm ("unquoted sexp (not a gexp!)"): Test it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions