+ XDG_STATE_HOME=/root/.local/state
+ source /root/.nix-profile/etc/profile.d/nix.sh
++ '[' -n /root ']'
++ '[' -n root ']'
++ NIX_LINK=/root/.nix-profile
++ '[' -n /root/.local/state ']'
++ NIX_LINK_NEW=/root/.local/state/nix/profile
++ '[' -e /root/.local/state/nix/profile ']'
++ '[' -t 2 ']'
++ export 'NIX_PROFILES=/nix/var/nix/profiles/default /root/.nix-profile'
++ NIX_PROFILES='/nix/var/nix/profiles/default /root/.nix-profile'
/root/.nix-profile/etc/profile.d/nix.sh: line 36: XDG_DATA_DIRS: unbound variable
Platform
Additional information
@iFreilicht @edolstra Due to PR #9312 and its check for
"$XDG_DATA_DIRS"instead of"${XDG_DATA_DIRS-}"the nix-profile script breaks in our bash environments with the error "unbound variable" for the latest nix release of 2.19.0Output
Output
Priorities
Add 👍 to issues you find important.