packages: Add 'specifications->packages'.
authorAntero Mejr <antero@mailbox.org>
Fri, 27 May 2022 17:13:28 +0000 (13:13 -0400)
committerLudovic Courtès <ludo@gnu.org>
Mon, 6 Jun 2022 20:43:30 +0000 (22:43 +0200)
commit7041fe0646a9603e7d1d6bde139a284146515917
tree291d34978be6434bd52681518a967ee3cd976097
parentf08bfca0836ea515ea8ddcfb72d319fd6838908a
packages: Add 'specifications->packages'.

* gnu/packages.scm (specifications->packages): New procedure.
* guix/scripts/home/import.scm (manifest+configuration-files->code): Use it.
* tests/home-import.scm (match-home-environment-no-services)
(match-home-environment-no-services-nor-packages)
(match-home-environment-bash-service)
(match-home-environment-bash-service-with-alias): Adjust 'packages'
field accordingly.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
gnu/packages.scm
guix/scripts/home/import.scm
tests/home-import.scm