| Commit message (Expand) | Author | Age | Files | Lines |
| * | formats: Set `preferLocalBuild` in `generate` builders•••Otherwise, remote builds are used for trivial format conversions.
| nicoo | 2024-05-25 | 1 | -0/+5 |
| * | pkgs: add PHP to formats.nix | nhnn | 2024-05-16 | 1 | -0/+2 |
| * | pkgs.formats: toINIWithGlobalSection wrapper•••The new format is based on the existing wrapper and generates an INI file with an unnamed global section at the top as is used by *stunnel* for instance.
Technically the INI format is a subset of this however testing, type checking, and API guarantees profit from two separate generators.
Co-authored-by: tim-tx <tim-tx@users.noreply.github.com>
Signed-off-by: benaryorg <binary@benary.org>
| benaryorg | 2024-02-12 | 1 | -45/+76 |
| * | formats.hocon: init | h7x4 | 2024-02-09 | 1 | -0/+2 |
| * | formats.systemd: init INI-style systemd config file format | Minijackson | 2023-12-09 | 1 | -0/+14 |
| * | pkgs-lib.formats: add note about missing `pkgs` quirk | ckie | 2023-10-27 | 1 | -0/+5 |
| * | formats.libconfig: init•••Co-authored-by: ckie <25263210+ckiee@users.noreply.github.com>
Signed-off-by: h7x4 <h7x4@nani.wtf>
| h7x4 | 2023-10-27 | 1 | -0/+2 |
| * | formats.pythonVars: init | Minijackson | 2023-04-04 | 1 | -0/+35 |
| * | Merge pull request #178365 from fgaz/lib.formats.keyValue•••lib.formats.keyValue: init | Aaron Andersen | 2022-07-01 | 1 | -0/+49 |
| |\ |
|
| | * | lib.formats.keyValue: init | Francesco Gazzetta | 2022-06-18 | 1 | -0/+49 |
| * | | pkgs-lib: fix JSON, YAML and TOML cross-compilation•••Splicing of nativeBuildInputs doesn't work unless callPackage is used, so
the generators were attempting to use host platform tools at build time.
| Ben Wolsieffer | 2022-06-19 | 1 | -13/+13 |
| |/ |
|
| * | treewide: remove usage of runCommandNoCC aliases | Sandro Jäckel | 2022-06-07 | 1 | -1/+1 |
| * | Merge pull request #104457 from ju1m/public-inbox•••Update public-inbox to 1.8.0 and add systemd services | Silvan Mosberger | 2022-05-12 | 1 | -0/+11 |
| |\ |
|
| | * | nixos/public-inbox: init | Julien Moutinho | 2022-05-12 | 1 | -0/+11 |
| * | | formats.javaProperties: init | Robert Hensing | 2022-04-01 | 1 | -0/+3 |
| * | | pkgs-lib: Implement settings format for Elixir | Minijackson | 2022-02-28 | 1 | -0/+207 |
| |/ |
|
| * | lib.formats.yaml: use well known YAML format•••The way `(lib.formats.yaml {}).generate` generates YAML is compliant
because on YAML 1.2 spec JSON is a subset of YAML but it bugs people's
minds and can lead to problems with software that is not compatible with
YAML 1.2.
This commit also changes the test of the generation function. Data
validation/typing remains the same.
See #133802.
Signed-off-by: lucasew <lucas59356@gmail.com>
| lucasew | 2021-08-25 | 1 | -6/+23 |
| * | treewide: runCommandNoCC -> runCommand•••This has been synonymous for ~5y.
| Robert Hensing | 2021-08-15 | 1 | -2/+2 |
| * | pkgs-lib: allow paths in TOML, YAML and JSON•••Paths get automatically added to the store. The INI generator currently chokes
on paths, so it is not supported for now.
| Ben Wolsieffer | 2021-06-28 | 1 | -0/+2 |
| * | formats.ini: Introduce `listToValue` argument (#121613)•••Allows coercing lists to values. E.g.
formats.ini { listToValue = lib.concatMapStringsSep ", " (lib.generators.mkValueStringDefault {}); } | Silvan Mosberger | 2021-05-04 | 1 | -2/+24 |
| * | pkgs-lib: Implement settings formats for JSON, INI, YAML and TOML | Silvan Mosberger | 2020-07-29 | 1 | -0/+109 |