inferior: Break cached-channel-instance into two procedures.
authorMathieu Othacehe <othacehe@gnu.org>
Fri, 5 Mar 2021 08:51:42 +0000 (09:51 +0100)
committerMathieu Othacehe <othacehe@gnu.org>
Wed, 10 Mar 2021 07:49:48 +0000 (08:49 +0100)
commit7d63b775513e7049047222dbe403a4181f63828d
treeefb28c5fa392b5b9c602316a468226ea7ddba874
parent0be2474d42990871170578e3a14a2e6b548157bd
inferior: Break cached-channel-instance into two procedures.

Break cached-channel-instance into two different procedures:
channels->cached-profile and instances->cached-profile operating respectively
on channels and channels instances.

* guix/inferior.scm (cached-channel-instance): Rename it into ...
(cached-profile): ... this new procedure.
(channels->cached-profile, instances->cached-profile): New procedures.
* guix/scripts/time-machine.scm (guix-time-machine): Adapt accordingly.
guix/inferior.scm
guix/scripts/time-machine.scm