Subject: Re: bug#75463: Incorrect sourcing on foreign distros
From: Leo Famulari <[email-masked]>
To: Einar Largenius <[email-masked]>
Cc: [email-masked]
Date: Thu, 9 Jan 2025 14:00:01 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

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!