1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-18 14:28:15 +00:00
home-manager/tests
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
..
integration tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00
lib senpai: switch to scfg format 2024-03-15 11:42:17 +01:00
modules home-environment: add line-break after sessionSearchVariables (#6596) 2025-03-09 12:57:44 -05:00
asserts.nix tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00
big-test.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
default.nix tests: central darwin stubbing 2025-03-09 00:44:11 -06:00
flake.nix home-manager: move tests into new test flake 2025-01-24 22:31:22 +01:00
stubs.nix tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00