summary refs log tree commit diff
path: root/tests/sets.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-06-06 15:29:50 +0200
committerLudovic Courtès <ludo@gnu.org>2017-06-21 11:05:52 +0200
commitb3a00885c0a420692ccc4c227252bb44619399d5 (patch)
tree3fcb8997ed451e5f8bc01d490db7b3da2e2e096a /tests/sets.scm
parent55b4715fd4c03e46501f123c5c9bc6072edf12a4 (diff)
downloadguix-b3a00885c0a420692ccc4c227252bb44619399d5.tar.gz
profiles: Manifest entries keep a reference to their parent entry.
* guix/profiles.scm (<manifest-entry>)[parent]: New field.
(package->manifest-entry): Add #:parent parameter.  Fill out the
'parent' field of <manifest-entry>; pass #:parent in recursive calls.
* guix/profiles.scm (sexp->manifest)[sexp->manifest-entry]: New
procedure.  Use it for version 3.
* tests/profiles.scm ("manifest-entry-parent"): New procedure.
("read-manifest")[entry->sexp]: Add 'manifest-entry-parent' to the
result.
Diffstat (limited to 'tests/sets.scm')
0 files changed, 0 insertions, 0 deletions