Am Mittwoch, 12. Dezember 2012 schrieb Andreas Enge: > Am Mittwoch, 12. Dezember 2012 schrieb Ludovic Courtès: > > Andreas Enge <[email protected]> skribis: > > > However, the current behaviour is not consistent with the > > > documentation. > > It’s more that the documentation is ahead of time. :-) > I think the attached patch solves the problem.
Here the same patch in "git format-patch" format. Alternatively, one may add to the documentation that a directory /nix/var/nix/profiles/guix/per-user/$USER should be created. Andreas
From a8e69abc371c6e8d3c22a35f7281df2a39335cbd Mon Sep 17 00:00:00 2001 From: Andreas Enge <[email protected]> Date: Thu, 13 Dec 2012 20:14:50 +0100 Subject: [PATCH 3/3] guix-package.in: store user profile in $HOME/.guix-profile instead of /nix/var/nix/profiles/guix/per-user/$USER --- guix-package.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix-package.in b/guix-package.in index 7bc32f8..bb1b8c0 100644 --- a/guix-package.in +++ b/guix-package.in @@ -68,7 +68,7 @@ exec ${GUILE-@GUILE@} -L "@guilemoduledir@" -l "$0" \ "default"))) (define %current-profile - (string-append %profile-directory "/profile")) + %user-environment-directory) (define (profile-manifest profile) "Return the PROFILE's manifest." -- 1.7.10.4
