--- Begin Message ---
Subject: |
Passing '-p ~/.guix-profile' to 'guix package' |
Date: |
Sat, 05 Jul 2014 00:11:57 +0300 |
When I run 'guix package -p ~/.guix-profile ...' I would expect it to
do the same thing as without the '-p ~/.guix-profile', but it doesn't
follow the immediate symlink, changing ~/.guix-profile to point to
e.g. ~/.guix-profile-1-link, and creating that one as a link to
/gnu/store/...-profile. (Normally it only does that to
$localstatedir/guix/profiles/per-user/$user/guix-profile.)
Perhaps my expectation is wrong because Guix doesn't "know" about the
"trick" of having a ~/.guix-profile symlink to the canonical per-user
profile symlink in $localstatedir/...
As a general solution, Guix could follow all but the last two(?)
symlinks in the symlink chain started by the -p argument. Don't know
if that's a good solution.
Thoughts?
Taylan
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#17939: Passing '-p ~/.guix-profile' to 'guix package' |
Date: |
Sat, 05 Jul 2014 15:04:33 +0200 |
User-agent: |
Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux) |
Taylan Ulrich Bayirli/Kammer <address@hidden> skribis:
> When I run 'guix package -p ~/.guix-profile ...' I would expect it to
> do the same thing as without the '-p ~/.guix-profile', but it doesn't
> follow the immediate symlink, changing ~/.guix-profile to point to
> e.g. ~/.guix-profile-1-link, and creating that one as a link to
> /gnu/store/...-profile. (Normally it only does that to
> $localstatedir/guix/profiles/per-user/$user/guix-profile.)
I believe commit 88371f0 solves it. Fine with you?
Thanks for the report,
Ludo’.
--- End Message ---