summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix-web/package.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix-web/package.scm b/guix-web/package.scm
index 1e5da8a..845eba7 100644
--- a/guix-web/package.scm
+++ b/guix-web/package.scm
@@ -29,7 +29,9 @@
#:export (package-install))
(define %store (open-connection))
-(define %profile "/usr/var/guix/profiles/per-user/dave/guix-profile")
+(define %profile
+ (string-append "/usr/var/guix/profiles/per-user/"
+ (getenv "USER") "/guix-profile"))
(define manifest (profile-manifest %profile))
(define (maybe-register-gc-root store profile)