1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-28 17:38:33 +02:00
home-manager/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
..
dconf.nix dconf: remove gnidorah from maintainers/CODEOWNERS (#2586) 2021-12-25 00:28:37 -07:00
debug.nix debug: add module 2020-03-07 15:03:44 +01:00
fontconfig.nix fontconfig: only remove directory if it exists 2021-10-06 15:02:34 +02:00
gtk.nix gtk: fix missing newline in formatted config (#2809) 2022-03-20 16:22:56 -04:00
lib.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
news.nix fusuma: add module 2022-03-13 22:17:55 +01:00
nix.nix nix: add structural settings (#2718) 2022-03-17 22:47:32 -04:00
nixpkgs-disabled.nix nixpkgs-disabled: add module 2021-10-13 23:46:38 +02:00
nixpkgs.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
numlock.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
pam.nix pam: add yubico option 2021-12-16 19:46:47 +01:00
qt.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
submodule-support.nix doc: surround name? with fancier characters 2019-09-01 21:28:40 +02:00
tmpfiles.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
version.nix Switch to 22.05 as current development release 2021-11-25 22:29:49 +01:00
vte.nix vte: add module 2020-06-14 12:20:12 +02:00
xdg-desktop-entries.nix xdg-desktop-entries: adjust to API changes 2022-03-04 01:08:00 +01:00
xdg-mime-apps.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xdg-mime.nix Replace pkgs.hostPlatform by pkgs.stdenv.hostPlatform 2021-12-03 23:36:50 +01:00
xdg-system-dirs.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xdg-user-dirs.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
xdg.nix xdg: add XDG_*_HOME variables to systemd.user.sessionVariables (#2790) 2022-03-17 22:22:53 -04:00