diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-07-02 23:19:40 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-07-12 22:47:08 +0200 |
commit | affd7761f3b38f7d5670a4e91fefef72174621cc (patch) | |
tree | 1ccfdca4ab255517d3fd9a99a2239453224e2013 /tests | |
parent | 08858812b57796fe5c2acee9f1675523333a149c (diff) | |
download | gnu-guix-affd7761f3b38f7d5670a4e91fefef72174621cc.tar gnu-guix-affd7761f3b38f7d5670a4e91fefef72174621cc.tar.gz |
gexp: Keep only a single 'references' field.
The distinction between native inputs and "normal" inputs can already be
determined by looking at the 'native?' field of <gexp-input>. The extra
'natives' field of <gexp> added complexity for no good reason.
* guix/gexp.scm (<gexp>)[natives]: Remove.
(write-gexp): Remove use of 'gexp-native-references'.
(gexp-inputs)[native-input?]: New procedure.
Use it.
(gexp->sexp)[reference->sexp]: Honor N? for input lists.
Remove use of 'gexp-native-references'.
(gexp)[collect-native-escapes]: Remove.
Simplify.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions