Commit Graph

16 Commits

Author SHA1 Message Date
Stefan Frijters
5cb5028d2d pkgs-lib/hocon: use structuredAttrs instead of passAsFile
Also use finalAttrs pattern.

Tested via `nix-build -A tests.pkgs-lib.hocon`
2026-06-10 15:16:34 +02:00
h7x4
9670af4242 pkgs-lib/hocon: separate includes from the following fields (#420239) 2025-08-20 17:31:28 +03:00
name_snrl
935f232934 pkgs-lib/hocon: separate includes from the following fields 2025-08-20 16:19:00 +02:00
h7x4
d6041cc2ca pkgs-lib/hocon: fix type for _includes 2025-03-24 21:33:35 +01:00
piegames
591861f2b1 treewide: Fix invalid string escapes 2024-12-14 15:19:03 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Wolfgang Walther
97c3fa4ebd hocon: remove deprecated indicators
This was scheduled for 24.11.
2024-11-23 19:37:39 +01:00
Artturin
7a199f5dd6 nixos/doc: add documentation for formats.hocon and formats.libconfig (#320339) 2024-09-10 18:26:10 +03:00
Sigmanificient
6dd44107ac treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
éclairevoyant
2d71c78890 formats.hocon: fix typo 2024-07-23 12:07:07 -04:00
h7x4
141a8a6c86 nixos/doc: move implementation notes for formats.hocon to docs 2024-06-16 20:58:48 +02:00
nicoo
3fa359407e formats: Set preferLocalBuild in generate builders
Otherwise, remote builds are used for trivial format conversions.
2024-05-25 17:27:40 +00:00
Philip Taron
25f91c20b6 formats.hocon: fix typo: compatability to compatibility 2024-04-02 14:49:46 -07:00
h7x4
0e65eca7c6 formats.hocon: add backwards compatibility 2024-02-09 18:49:04 +01:00
h7x4
b6cdfec16c formats.hocon: add tests 2024-02-09 16:40:22 +01:00
h7x4
2554eba2ca formats.hocon: init 2024-02-09 16:40:22 +01:00