install: Make /var/guix/…/guix-profile a relative symlink.

* gnu/build/install.scm (populate-single-profile-directory): Make
/var/guix/profiles/per-user/root/guix-profile a relative symlink.
This commit is contained in:
Ludovic Courtès 2018-10-20 17:39:53 +02:00
parent f8ee22fc8b
commit aff38cb199
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -199,7 +199,7 @@ (define (symlink* old new)
(mkdir-p* %root-profile)
(symlink* profile
(string-append %root-profile "/guix-profile-1-link"))
(symlink* (string-append %root-profile "/guix-profile-1-link")
(symlink* "guix-profile-1-link"
(string-append %root-profile "/guix-profile"))
(mkdir-p* "/root")