GNU bug report logs - #75463
Incorrect sourcing on foreign distros

Previous Next

Package: guix;

Reported by: Einar Largenius <jaadu <at> lysator.liu.se>

Date: Thu, 9 Jan 2025 14:28:02 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

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 75463 in the body.
You can then email your comments to 75463 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#75463; Package guix. (Thu, 09 Jan 2025 14:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Einar Largenius <jaadu <at> lysator.liu.se>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 09 Jan 2025 14:28:02 GMT) Full text and rfc822 format available.

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

From: Einar Largenius <jaadu <at> lysator.liu.se>
To: bug-guix <at> gnu.org
Subject: Incorrect sourcing on foreign distros
Date: Thu, 09 Jan 2025 15:26:52 +0100
Hello,

I was trying to figure out what is needed to make bash-completion working with my user profile and I came across what I believe is an error.

The relevant file is /etc/profile.d/zzz-guix.sh

It has two lines:

    [ -L "$GUIX_PROFILE" ] || \

Shouldn't it be:

    [ -L "$GUIX_PROFILE" ] && \

I use Guix on Fedora 41.

-- 
Med vänliga hälsningar Einar




Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Thu, 09 Jan 2025 19:01:01 GMT) Full text and rfc822 format available.

Notification sent to Einar Largenius <jaadu <at> lysator.liu.se>:
bug acknowledged by developer. (Thu, 09 Jan 2025 19:01:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Einar Largenius <jaadu <at> lysator.liu.se>
Cc: 75463-done <at> debbugs.gnu.org
Subject: Re: bug#75463: Incorrect sourcing on foreign distros
Date: Thu, 9 Jan 2025 14:00:01 -0500
On Thu, Jan 09, 2025 at 03:26:52PM +0100, Einar Largenius wrote:
> It has two lines:
> 
>     [ -L "$GUIX_PROFILE" ] || \
> 
> Shouldn't it be:
> 
>     [ -L "$GUIX_PROFILE" ] && \

Yes, you are correct.
>
> I use Guix on Fedora 41.

This bug was fixed in commit 08bb2dbb13cc7180a9d8316f9d52b6f7a20d5e8d:

https://git.savannah.gnu.org/cgit/guix.git/commit/?id=08bb2dbb13cc7180a9d8316f9d52b6f7a20d5e8d

But since this zzz-profile.sh file is only created while installing
Guix, you can fix it "by hand".

Thanks for the report!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 07 Feb 2025 12:24:18 GMT) Full text and rfc822 format available.

This bug report was last modified 128 days ago.

Previous Next


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