mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
Resolve conflict
Some of the code before https://github.com/NixOS/nix/pull/11351 did not have the problem. What remains wasn't all that problematic, but is good to have anyway.
This commit is contained in:
parent
971748ace9
commit
a69d32d194
1 changed files with 0 additions and 5 deletions
|
@ -3,14 +3,9 @@ if [ -n "${HOME-}" ] && [ -n "${USER-}" ]; then
|
|||
|
||||
# Set up the per-user profile.
|
||||
|
||||
<<<<<<< HEAD
|
||||
NIX_LINK="$HOME/.nix-profile"
|
||||
if [ -n "${XDG_STATE_HOME-}" ]; then
|
||||
NIX_LINK_NEW="$XDG_STATE_HOME/nix/profile"
|
||||
=======
|
||||
if [ -n "${NIX_STATE_HOME-}" ]; then
|
||||
NIX_LINK="$NIX_STATE_HOME/profile"
|
||||
>>>>>>> 97fffd876 (nix-profile.sh.in: fix envvar condition)
|
||||
else
|
||||
NIX_LINK_NEW="$HOME/.local/state/nix/profile"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue