1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

Merge pull request #12197 from NixOS/mergify/bp/2.24-maintenance/pr-11541

nix-profile.sh.in: fix envvar condition (backport #11541)
This commit is contained in:
mergify[bot] 2025-01-12 13:09:04 +00:00 committed by GitHub
commit c803fe0785
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,5 @@
# This file is tested by tests/installer/default.nix.
if [ -n "$HOME" ] && [ -n "$USER" ]; then
if [ -n "${HOME-}" ] && [ -n "${USER-}" ]; then
# Set up the per-user profile.