* bug#17939: Passing '-p ~/.guix-profile' to 'guix package'
@ 2014-07-04 21:11 Taylan Ulrich Bayirli/Kammer
2014-07-05 13:04 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Taylan Ulrich Bayirli/Kammer @ 2014-07-04 21:11 UTC (permalink / raw)
To: 17939
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#17939: Passing '-p ~/.guix-profile' to 'guix package'
2014-07-04 21:11 bug#17939: Passing '-p ~/.guix-profile' to 'guix package' Taylan Ulrich Bayirli/Kammer
@ 2014-07-05 13:04 ` Ludovic Courtès
2014-07-05 13:37 ` Taylan Ulrich Bayirli/Kammer
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2014-07-05 13:04 UTC (permalink / raw)
To: Taylan Ulrich Bayirli/Kammer; +Cc: 17939-done
Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com> 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’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#17939: Passing '-p ~/.guix-profile' to 'guix package'
2014-07-05 13:04 ` Ludovic Courtès
@ 2014-07-05 13:37 ` Taylan Ulrich Bayirli/Kammer
2014-07-05 13:59 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Taylan Ulrich Bayirli/Kammer @ 2014-07-05 13:37 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 17939-done
ludo@gnu.org (Ludovic Courtès) writes:
> I believe commit 88371f0 solves it. Fine with you?
I wish the problem could be solved without special-casing, but I guess
this is a good quick solution.
> Thanks for the report,
> Ludo’.
Thanks,
Taylan
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#17939: Passing '-p ~/.guix-profile' to 'guix package'
2014-07-05 13:37 ` Taylan Ulrich Bayirli/Kammer
@ 2014-07-05 13:59 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2014-07-05 13:59 UTC (permalink / raw)
To: Taylan Ulrich Bayirli/Kammer; +Cc: 17939-done
Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com> skribis:
> ludo@gnu.org (Ludovic Courtès) writes:
>
>> I believe commit 88371f0 solves it. Fine with you?
>
> I wish the problem could be solved without special-casing, but I guess
> this is a good quick solution.
Yeah, but the problem is that ~/.guix-profile is already a special case
in a way.
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-07-05 14:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-04 21:11 bug#17939: Passing '-p ~/.guix-profile' to 'guix package' Taylan Ulrich Bayirli/Kammer
2014-07-05 13:04 ` Ludovic Courtès
2014-07-05 13:37 ` Taylan Ulrich Bayirli/Kammer
2014-07-05 13:59 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).