1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-17 22:08:17 +00:00
home-manager/tests/modules
Thiago Kenji Okada db4386d686
home-environment: add line-break after sessionSearchVariables (#6596)
PR #6593 broke activation when `sessionVariablesExtra` is used, e.g.:
`services.ssh-agent` because it concatenate the strings without a line
break, so the resulting `hm-session-vars.sh` file became:

```bash
export XCURSOR_PATH="/etc/profiles/per-user/thiagoko/share/icons${XCURSOR_PATH:+:}$XCURSOR_PATH"if [ -z "$SSH_AUTH_SOCK" ]; then
  export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent
fi
```

This commit fixes it by enforcing a line break between
`sessionSearchVariables` and `sessionVariablesExtra`.
2025-03-09 12:57:44 -05:00
..
accounts tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00
config tests/home-cursor: init (#6496) 2025-02-19 13:18:30 -06:00
files tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00
home-environment home-environment: add line-break after sessionSearchVariables (#6596) 2025-03-09 12:57:44 -05:00
i18n/input-method tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
launchd tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00
misc tests: move xdg to cross platform tests 2025-03-01 11:08:42 -05:00
programs tests/vscode: fix darwin snippets test 2025-03-09 00:44:11 -06:00
services tests/yubikey-agent-darwin: fix test 2025-03-09 00:44:11 -06:00
systemd tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00
targets-darwin tests/targets-darwin: fix user-defaults test 2025-03-09 00:44:11 -06:00
targets-linux tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00
xresources tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00