You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, sorry for the regression. The problem seems to be that I used if [ -n "$NIX_STATE_HOME" ] instead of if [ -n "${NIX_STATE_HOME-}" ]. I also changed the conditions at the beginning of the file to this form, as they would probably have caused the same issue if $HOME or $USER weren't defined.
Describe the bug
Nix's bash profile script is failing on several platforms: https://hydra.nixos.org/eval/1808904#tabs-still-fail, e.g. https://hydra.nixos.org/build/272876158#tabs-summary:
This was introduced in #11351 (ping @noamraph).
Steps To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
nix-env --version
outputAdditional context
Add any other context about the problem here.
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: