1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-21 01:39:39 +01:00
home-manager/tests
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
..
integration home-manager: fix integration tests 2025-06-09 16:08:02 +02:00
lib treewide: remove unused code (#6985) 2025-05-07 10:03:21 -05:00
modules fix(zed): support preexisting JSON5 settings (#7317) 2025-06-24 15:48:03 -05:00
asserts.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
big-test.nix treewide: Prevent IFD by default 2025-05-07 10:34:18 -05:00
darwinScrublist.nix codex: init 2025-06-09 22:33:16 -05:00
default.nix tests: implement auto importing for modules 2025-06-22 23:58:37 -05:00
flake.nix tests: create no-big and ifd test outputs. 2025-06-02 22:58:05 -05:00
stubs.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00