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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Leo Famulari <leo <at> famulari.name>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#75463: closed (Incorrect sourcing on foreign distros)
Date: Thu, 09 Jan 2025 19:01:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 9 Jan 2025 14:00:01 -0500
with message-id <Z4AcsasvgDXQcamm <at> jasmine.lan>
and subject line Re: bug#75463: Incorrect sourcing on foreign distros
has caused the debbugs.gnu.org bug report #75463,
regarding Incorrect sourcing on foreign distros
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
75463: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75463
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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


[Message part 3 (message/rfc822, inline)]
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!


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.