mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
95b95b1407
Before the XDG variables would be set from the user's environment, if available. This would break some tests. With this change the tests should be fully deterministic. Fixes #1190
9 lines
286 B
Text
9 lines
286 B
Text
# Only source this once.
|
|
if [ -n "$__HM_SESS_VARS_SOURCED" ]; then return; fi
|
|
export __HM_SESS_VARS_SOURCED=1
|
|
|
|
export V1="v1"
|
|
export V2="v2-v1"
|
|
export XDG_CACHE_HOME="/home/hm-user/.cache"
|
|
export XDG_CONFIG_HOME="/home/hm-user/.config"
|
|
export XDG_DATA_HOME="/home/hm-user/.local/share"
|