profiles: Allow a profile to be added as an entry of another profile.
authorLudovic Courtès <ludo@gnu.org>
Sun, 20 Jan 2019 00:33:25 +0000 (01:33 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sun, 20 Jan 2019 00:42:11 +0000 (01:42 +0100)
commit38b77f34640ff8a491913d29abcd16a846f2d0e4
treeb955ddead2a7d6e5106f15c7bc2c9424caf7f1c1
parent2d17a904aca81ed91c5a33ba15d244bca78ac4b8
profiles: Allow a profile to be added as an entry of another profile.

* guix/build/profiles.scm (build-etc/profile): When 'OUTPUT/etc/profile'
already exists, delete it first.
(build-profile): Likewise for 'OUTPUT/manifest'.
* tests/profiles.scm ("profile in profile"): New test.
guix/build/profiles.scm
tests/profiles.scm