home-manager/tests/modules/misc
polykernel 46dc2e5d9f
gtk: fix missing newline in formatted config (#2809)
The conversion from `concatMapStrings` to `concatStringsSep` introduced in https://github.com/nix-community/home-manager/pull/2481
creates an unintended behavior change where the formatted config does not end in a newline.[1]
This is problematic for manipulation at the Nix level. In particular, this cause a regression in
the generation of gtk2 settings due to concatenated of the formatted config and `gtk2.extraConfig`
without a newline in between.

This commit restores `concatMapStrings` to match the previous behavior and adds a newline to
the final string for the generated gtk2 config. The test case for gtk2-basic-config
was also updated to check behavior at concatenation boundaries.

[1] - https://github.com/nix-community/home-manager/pull/2481#discussion_r830648706
2022-03-20 16:22:56 -04:00
..
debug tests: make enableBig an option 2022-01-02 10:36:52 +01:00
fontconfig fontconfig: disable multiple font packages test 2020-07-31 17:30:57 +02:00
gtk gtk: fix missing newline in formatted config (#2809) 2022-03-20 16:22:56 -04:00
nix nix: add structural settings (#2718) 2022-03-17 22:47:32 -04:00
numlock tests: add option test.stubs 2021-09-26 23:26:38 +02:00
pam pam: add yubico option 2021-12-16 19:46:47 +01:00
qt tests: add option test.stubs 2021-09-26 23:26:38 +02:00
xdg xdg: add XDG_*_HOME variables to systemd.user.sessionVariables (#2790) 2022-03-17 22:22:53 -04:00
xsession setxkbmap: reset options before setting new ones (#2160) 2021-07-11 21:15:18 -04:00