mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
Merge pull request #12840 from NixOS/mergify/bp/2.24-maintenance/pr-12805
nix-daemon: source nix-profile-daemon.sh only once (backport #12805)
This commit is contained in:
commit
4687dc99f7
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Only execute this file once per shell.
|
# Only execute this file once per shell.
|
||||||
# This file is tested by tests/installer/default.nix.
|
# This file is tested by tests/installer/default.nix.
|
||||||
if [ -n "${__ETC_PROFILE_NIX_SOURCED:-}" ]; then return; fi
|
if [ -n "${__ETC_PROFILE_NIX_SOURCED:-}" ]; then return; fi
|
||||||
__ETC_PROFILE_NIX_SOURCED=1
|
export __ETC_PROFILE_NIX_SOURCED=1
|
||||||
|
|
||||||
NIX_LINK=$HOME/.nix-profile
|
NIX_LINK=$HOME/.nix-profile
|
||||||
if [ -n "${XDG_STATE_HOME-}" ]; then
|
if [ -n "${XDG_STATE_HOME-}" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue