Incorrect sourcing on foreign distros

  • Done
  • quality assurance status badge
Details
2 participants
  • Einar Largenius
  • Leo Famulari
Owner
unassigned
Submitted by
Einar Largenius
Severity
normal

Debbugs page

E
E
Einar Largenius wrote 30 hours ago
(address . bug-guix@gnu.org)
87r05c9i6r.fsf@lysator.liu.se
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
L
L
Leo Famulari wrote 25 hours ago
(name . Einar Largenius)(address . jaadu@lysator.liu.se)(address . 75463-done@debbugs.gnu.org)
Z4AcsasvgDXQcamm@jasmine.lan
On Thu, Jan 09, 2025 at 03:26:52PM +0100, Einar Largenius wrote:
Toggle quote (8 lines)
> It has two lines:
>
> [ -L "$GUIX_PROFILE" ] || \
>
> Shouldn't it be:
>
> [ -L "$GUIX_PROFILE" ] && \

Yes, you are correct.
Toggle quote (3 lines)
>
> I use Guix on Fedora 41.

This bug was fixed in commit 08bb2dbb13cc7180a9d8316f9d52b6f7a20d5e8d:


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

Thanks for the report!
Closed
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 75463@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 75463
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch