1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-21 09:49:39 +01:00
home-manager/tests/modules
Jairo Llopis ff31a4677c
fix(zed): support preexisting JSON5 settings (#7317)
Zed uses JSON5 for settings files. JQ doesn't understand that format and
fails if found, when merging with preexisting settings.

Here I add a conversion step that converts JSON5 to JSON before handling
the contents to JQ.

Besides, I changed the arguments in the jq function, so instead of using
`[0]` and `[1]`, we now use `$dynamic` and `$static` respectively. This
should make scripts more readable.

Fixes https://github.com/nix-community/home-manager/issues/7247
Fixes https://github.com/nix-community/home-manager/issues/7226
2025-06-24 15:48:03 -05:00
..
accounts tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00
config tests/home-cursor: don't use realPkgs 2025-04-18 15:56:09 -07:00
dbus dbus: Create with pacakges options (#7064) 2025-05-15 12:59:12 -05:00
files treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
home-environment dconf: revert: dconf: Provide dconf (#7215) 2025-06-05 15:06:51 -05:00
i18n/input-method fcitx5: fix iniFormat usage (#6899) 2025-04-23 15:10:12 -05:00
launchd treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
misc Revert "fontconfig: Fix missing default fontconfig files (#7045)" (#7103) 2025-05-21 20:04:44 -05:00
programs fix(zed): support preexisting JSON5 settings (#7317) 2025-06-24 15:48:03 -05:00
services tests/nix-gc: reorganize darwin and linux 2025-06-22 23:58:37 -05:00
systemd treewide: remove unused code (#6985) 2025-05-07 10:03:21 -05:00
targets-darwin treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
targets-linux treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
xresources treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00