profiles: 'packages->manifest' now accepts inferior packages.
authorLudovic Courtès <ludovic.courtes@inria.fr>
Tue, 18 Sep 2018 08:21:28 +0000 (10:21 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 21 Sep 2018 15:04:37 +0000 (17:04 +0200)
commit811b21fb15d36b06fde994ca7ef5916a9a19f250
tree4dd6c27925dab39c7b6373cf97cca258813e56e2
parent2e6d64e122ad2745154a38122785895d1b66c2ff
profiles: 'packages->manifest' now accepts inferior packages.

* guix/profiles.scm (packages->manifest)[inferiors-loaded?]: New
variable.
[inferior->entry]: New procedure.
Accept inferior packages when INFERIORS-LOADED? is true.
* tests/guix-package.sh: Add test using a manifest with an inferior.
* tests/inferior.scm ("packages->manifest"): New test.
guix/profiles.scm
tests/guix-package.sh
tests/inferior.scm