diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-06-06 15:29:50 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-06-21 11:05:52 +0200 |
commit | b3a00885c0a420692ccc4c227252bb44619399d5 (patch) | |
tree | 3fcb8997ed451e5f8bc01d490db7b3da2e2e096a /etc | |
parent | 55b4715fd4c03e46501f123c5c9bc6072edf12a4 (diff) | |
download | gnu-guix-b3a00885c0a420692ccc4c227252bb44619399d5.tar gnu-guix-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 'etc')
0 files changed, 0 insertions, 0 deletions