Skip to content

Commit 53e3bbd

Browse files
authored
Merge pull request #12844 from NixOS/mergify/bp/2.28-maintenance/pr-12805
nix-daemon: source nix-profile-daemon.sh only once (backport #12805)
2 parents bf7bb08 + 410ea6f commit 53e3bbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/nix-profile-daemon.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Only execute this file once per shell.
22
# This file is tested by tests/installer/default.nix.
33
if [ -n "${__ETC_PROFILE_NIX_SOURCED:-}" ]; then return; fi
4-
__ETC_PROFILE_NIX_SOURCED=1
4+
export __ETC_PROFILE_NIX_SOURCED=1
55

66
NIX_LINK=$HOME/.nix-profile
77
if [ -n "${XDG_STATE_HOME-}" ]; then

0 commit comments

Comments
 (0)