home: import: Avoid duplication of 'manifest->code'.
authorLudovic Courtès <ludo@gnu.org>
Sat, 30 Oct 2021 22:02:27 +0000 (00:02 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 30 Oct 2021 22:51:06 +0000 (00:51 +0200)
commit6f4ca78761471602e3af37ee1a33de446114039f
tree93183c29a4e162eec4a63990076afc1da4c21420
parent96728c54df365cc48f14a514b63616ff7a6d052b
home: import: Avoid duplication of 'manifest->code'.

* guix/scripts/home/import.scm (manifest->code): Remove.
(manifest+configuration-files->code): New procedure.
(import-manifest): Use 'manifest+configuration-files->code' instead of
'manifest->code'.
* tests/home-import.scm (eval-test-with-home-environment): Likewise.
(match-home-environment-transformations): New procedure.
("manifest->code: No services, package transformations"): New test.
guix/scripts/home/import.scm
tests/home-import.scm