#1123599 [PATCH] guix: Don't fail /etc/profile.d/guix.sh for normal setup

Package:
guix
Source:
guix
Description:
GNU Guix functional package manager
Submitter:
Simon Josefsson
Date:
2025-12-18 18:07:10 UTC
Severity:
normal
Tags:
#1123599#5
Date:
2025-12-18 18:02:39 UTC
From:
To:
Hi!  It seems souring /etc/profile.d/guix.sh can return non-zero due to
this line:

[ -L $GUIX_PROFILE ] || return

This happens if the first command fail in a pipefail situation.  I
suppose the intention was to exit with error code 0 if GUIX_PROFILE
isn't a symlink?  If so, see attached patch, also pushed here:

https://salsa.debian.org/debian/guix/-/merge_requests/4

/Simon