aboutsummaryrefslogtreecommitdiff
path: root/gnu/build/install.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-10-20 17:39:53 +0200
committerLudovic Courtès <ludo@gnu.org>2018-10-21 23:54:46 +0200
commitaff38cb199fc847f97059600a6c9c99ee754fc07 (patch)
treed80325c5a65c601048fa0485fec01b6633c90ecc /gnu/build/install.scm
parentf8ee22fc8b486612a9f041bb351d99ba0ce16dc0 (diff)
downloadpatches-aff38cb199fc847f97059600a6c9c99ee754fc07.tar
patches-aff38cb199fc847f97059600a6c9c99ee754fc07.tar.gz
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.
Diffstat (limited to 'gnu/build/install.scm')
-rw-r--r--gnu/build/install.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/build/install.scm b/gnu/build/install.scm
index 5a5e703872..c602d69489 100644
--- a/gnu/build/install.scm
+++ b/gnu/build/install.scm
@@ -199,7 +199,7 @@ This is used to create the self-contained tarballs with 'guix pack'."
(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")