unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#75463: Incorrect sourcing on foreign distros
@ 2025-01-09 14:26 Einar Largenius
  2025-01-09 19:00 ` Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: Einar Largenius @ 2025-01-09 14:26 UTC (permalink / raw)
  To: 75463

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#75463: Incorrect sourcing on foreign distros
  2025-01-09 14:26 bug#75463: Incorrect sourcing on foreign distros Einar Largenius
@ 2025-01-09 19:00 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2025-01-09 19:00 UTC (permalink / raw)
  To: Einar Largenius; +Cc: 75463-done

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!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-01-09 19:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-09 14:26 bug#75463: Incorrect sourcing on foreign distros Einar Largenius
2025-01-09 19:00 ` Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).