guix: Add support for channel dependencies.
authorRicardo Wurmus <rekado@elephly.net>
Sat, 13 Oct 2018 06:39:23 +0000 (08:39 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Sun, 9 Dec 2018 12:55:22 +0000 (13:55 +0100)
commitaf12790bdd3805bbd7bca2b7c1d9045666f377eb
tree1d60a9b45098f39a2b3455bd27bf932f4de5ffbf
parentd7e24652426dd4291eb8592dfcf1aed3a41289aa
guix: Add support for channel dependencies.

* guix/channels.scm (<channel-metadata>): New record.
(read-channel-metadata, channel-instance-dependencies): New procedures.
(latest-channel-instances): Include channel dependencies; add optional
argument PREVIOUS-CHANNELS.
(channel-instance-derivations): Build derivation for additional channels and
add it as dependency to the channel instance derivation.
* doc/guix.texi (Channels): Add subsection "Declaring Channel Dependencies".
* tests/channels.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
Makefile.am
doc/guix.texi
guix/channels.scm
tests/channels.scm [new file with mode: 0644]