diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-11-30 14:17:24 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-12-01 16:00:14 +0100 |
commit | e4ecd51e239adba226709a793240cc6f1a396858 (patch) | |
tree | 3ff7ea49cd5a851155e6f1996fdaf1e097e1b11e /guix/scripts/archive.scm | |
parent | 1fafa2f58732a3fb75258be342c92a2772af2860 (diff) | |
download | guix-patches-e4ecd51e239adba226709a793240cc6f1a396858.tar guix-patches-e4ecd51e239adba226709a793240cc6f1a396858.tar.gz |
guix system: Simplify closure copy.
* guix/scripts/system.scm (copy-item): Add 'references' argument and
remove 'references*' call. Turn into a non-monadic procedure.
(copy-closure): Remove initial call to 'references*'. Only pass ITEM to
'topologically-sorted*' since that's equivalent. Compute the list of
references corresponding to TO-COPY and pass it to 'copy-item'.
Diffstat (limited to 'guix/scripts/archive.scm')
0 files changed, 0 insertions, 0 deletions