diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-01-17 16:57:53 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-01-20 17:57:14 +0100 |
commit | ed75bdf35ca494496cdbc7a06b414e1f08e70cac (patch) | |
tree | 2da19cc839aa471f841e85bf67c1ae1c15dee91f /gnu | |
parent | ff8a66bc611d62280d6882d44dd7ee3bd9955983 (diff) | |
download | patches-ed75bdf35ca494496cdbc7a06b414e1f08e70cac.tar patches-ed75bdf35ca494496cdbc7a06b414e1f08e70cac.tar.gz |
channels: Don't pull from the same channel more than once.
Previous 'channel-instance->manifest' would call
'latest-channel-derivation', which could trigger another round of
'latest-repository-commit' for no good reason.
* guix/channels.scm (resolve-dependencies): New procedure.
(channel-instance-derivations)[edges]: New variable.
[instance->derivation]: New procedure.
* tests/channels.scm (make-instance): Use 'checkout->channel-instance'
instead of 'channel-instance'.
("channel-instances->manifest"): New test.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions