mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 06:52:43 +01:00
If the profile is sourced inside a script with `set -u`, the check for
__ETC_PROFILE_NIX_SOURCED and NIX_SSL_CERT_FILE would raise an error.
A simple guard around this check allows the script to operate under
standard environments (where it is fairly reasonable to assume USER
and HOME are set.)
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| install-darwin-multi-user.sh | ||
| install-multi-user.sh | ||
| install-nix-from-closure.sh | ||
| install-systemd-multi-user.sh | ||
| local.mk | ||
| nix-http-export.cgi.in | ||
| nix-profile-daemon.sh.in | ||
| nix-profile.sh.in | ||
| nix-reduce-build.in | ||