summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-08-15 09:25:33 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-08-15 09:25:33 -0400
commit8fa434d2e897060d7dbbc1338346b0c40b862f90 (patch)
treecb5ce00e52e66287c70805a3d5d962b5d2368dc1
parent3bed3bfa7379fbbd8b1177a2da83d9c7cdebb163 (diff)
Use the current user's guix profile.
* guix-web/package.scm (%profile): Use the per-user profile of $USER.
-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)