diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-06-04 22:06:34 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-06-14 11:16:58 +0200 |
commit | 6892f0a247a06ac12c8c462692f8b3f93e872911 (patch) | |
tree | e1ecedc4e1c4cb11613550275c2846eb31a024c6 /guix/modules.scm | |
parent | f8f9f7cabca3f0ea1f8b8cb4fecfc45889bdfb94 (diff) |
store-copy: 'read-reference-graph' returns a list of records.
The previous implementation of 'read-reference-graph' was good enough
for many use cases, but it discarded the graph structure, which is
useful information in some cases.
* guix/build/store-copy.scm (<store-info>): New record type.
(read-reference-graph): Rewrite to return a list of <store-info>.
(closure-size, populate-store): Adjust accordingly.
* gnu/services/base.scm (references-file): Adjust accordingly.
* gnu/system/vm.scm (system-docker-image): Likewise.
* guix/scripts/pack.scm (squashfs-image, docker-image): Likewise.
* tests/gexp.scm ("gexp->derivation #:references-graphs"): Likewise.
Diffstat (limited to 'guix/modules.scm')
0 files changed, 0 insertions, 0 deletions