diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-06-10 14:34:36 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-07-04 18:05:02 +0200 |
commit | 2ca41030d5189d83ea2a28ea64cf0e19efed5fd7 (patch) | |
tree | 08767ed3a8cc94a9ad0fae7c55a080b2bf5ffad4 /bootstrap | |
parent | fc3f14927feb91f33324248107492ccbb4d43155 (diff) | |
download | patches-2ca41030d5189d83ea2a28ea64cf0e19efed5fd7.tar patches-2ca41030d5189d83ea2a28ea64cf0e19efed5fd7.tar.gz |
gexp: Add 'lower-gexp' and express 'gexp->derivation' in terms of it.
* guix/gexp.scm (gexp-input-thing, gexp-input-output)
(gexp-input-native?): Export.
(lower-inputs): Return <gexp-input> records instead of tuples.
(lower-reference-graphs): Adjust accordingly.
(<lowered-gexp>): New record type.
(lower-gexp, gexp-input->tuple): New procedure.
(gexp->derivation)[%modules]: Remove.
[requested-graft?]: New variable.
[add-modules]: New procedure.
Rewrite in terms of 'lower-gexp'.
(gexp-inputs): Add TODO comment.
* tests/gexp.scm ("lower-gexp"): New test.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions