GNU bug report logs - #17939
Passing '-p ~/.guix-profile' to 'guix package'

Previous Next

Package: guix;

Reported by: Taylan Ulrich Bayirli/Kammer <taylanbayirli <at> gmail.com>

Date: Fri, 4 Jul 2014 21:13:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17939 in the body.
You can then email your comments to 17939 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#17939; Package guix. (Fri, 04 Jul 2014 21:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Taylan Ulrich Bayirli/Kammer <taylanbayirli <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 04 Jul 2014 21:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Taylan Ulrich Bayirli/Kammer <taylanbayirli <at> gmail.com>
To: bug-guix <at> gnu.org
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




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Sat, 05 Jul 2014 13:05:02 GMT) Full text and rfc822 format available.

Notification sent to Taylan Ulrich Bayirli/Kammer <taylanbayirli <at> gmail.com>:
bug acknowledged by developer. (Sat, 05 Jul 2014 13:05:03 GMT) Full text and rfc822 format available.

Message #10 received at 17939-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Taylan Ulrich Bayirli/Kammer <taylanbayirli <at> gmail.com>
Cc: 17939-done <at> debbugs.gnu.org
Subject: Re: bug#17939: Passing '-p ~/.guix-profile' to 'guix package'
Date: Sat, 05 Jul 2014 15:04:33 +0200
Taylan Ulrich Bayirli/Kammer <taylanbayirli <at> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#17939; Package guix. (Sat, 05 Jul 2014 13:39:02 GMT) Full text and rfc822 format available.

Message #13 received at 17939-done <at> debbugs.gnu.org (full text, mbox):

From: Taylan Ulrich Bayirli/Kammer <taylanbayirli <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 17939-done <at> debbugs.gnu.org
Subject: Re: bug#17939: Passing '-p ~/.guix-profile' to 'guix package'
Date: Sat, 05 Jul 2014 16:37:59 +0300
ludo <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#17939; Package guix. (Sat, 05 Jul 2014 14:00:04 GMT) Full text and rfc822 format available.

Message #16 received at 17939-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Taylan Ulrich Bayirli/Kammer <taylanbayirli <at> gmail.com>
Cc: 17939-done <at> debbugs.gnu.org
Subject: Re: bug#17939: Passing '-p ~/.guix-profile' to 'guix package'
Date: Sat, 05 Jul 2014 15:59:52 +0200
Taylan Ulrich Bayirli/Kammer <taylanbayirli <at> gmail.com> skribis:

> ludo <at> 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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 03 Aug 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 268 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.