Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-04-04 | formats.pythonVars: init | Minijackson | 1 | -0/+35 | |
2022-07-01 | Merge pull request #178365 from fgaz/lib.formats.keyValue | Aaron Andersen | 2 | -0/+94 | |
lib.formats.keyValue: init | |||||
2022-06-20 | formats.keyValue: add tests | Francesco Gazzetta | 1 | -0/+45 | |
2022-06-19 | pkgs-lib: fix JSON, YAML and TOML cross-compilation | Ben Wolsieffer | 1 | -13/+13 | |
Splicing of nativeBuildInputs doesn't work unless callPackage is used, so the generators were attempting to use host platform tools at build time. | |||||
2022-06-18 | lib.formats.keyValue: init | Francesco Gazzetta | 1 | -0/+49 | |
2022-06-07 | treewide: remove usage of runCommandNoCC aliases | Sandro Jäckel | 1 | -1/+1 | |
2022-05-12 | Merge pull request #104457 from ju1m/public-inbox | Silvan Mosberger | 1 | -0/+11 | |
Update public-inbox to 1.8.0 and add systemd services | |||||
2022-05-12 | nixos/public-inbox: init | Julien Moutinho | 1 | -0/+11 | |
2022-04-25 | Merge pull request #167172 from hercules-ci/javaProperties-type-coercions | Robert Hensing | 3 | -7/+49 | |
`formats.javaProperties`: add type coercions | |||||
2022-04-18 | pkgs-lib.formats: fix tomlkit output | zowoq | 1 | -0/+1 | |
2022-04-10 | tests formats: fix due to tomlkit output change | lassulus | 1 | -3/+0 | |
2022-04-04 | tests.pkgs-lib: Fix for darwin | Robert Hensing | 1 | -1/+2 | |
2022-04-04 | pkgs.formats.javaProperties: Add type coercions | Robert Hensing | 3 | -4/+42 | |
A usability improvement. | |||||
2022-04-04 | tests.pkgs-lib.formats: Allow strings with context in test runner | Robert Hensing | 1 | -2/+5 | |
2022-04-04 | tests.pkgs-lib.formats: Detect when impossible input is fed | Robert Hensing | 1 | -1/+5 | |
2022-04-04 | pkgs.formats.javaProperties: Add implementation note to type | Robert Hensing | 1 | -0/+24 | |
2022-04-01 | formats.javaProperties: Add comment | Robert Hensing | 2 | -4/+11 | |
2022-04-01 | formats.javaProperties: init | Robert Hensing | 6 | -5/+260 | |
2022-02-28 | pkgs-lib: Implement settings format for Elixir | Minijackson | 1 | -0/+207 | |
2021-08-26 | formats: Fix yaml test | Silvan Mosberger | 1 | -2/+2 | |
Faulty test result was introduced in https://github.com/NixOS/nixpkgs/pull/133807 | |||||
2021-08-25 | lib.formats.yaml: use well known YAML format | lucasew | 2 | -21/+34 | |
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> | |||||
2021-08-15 | treewide: runCommandNoCC -> runCommand | Robert Hensing | 2 | -3/+3 | |
This has been synonymous for ~5y. | |||||
2021-06-28 | pkgs-lib: allow paths in TOML, YAML and JSON | Ben Wolsieffer | 2 | -0/+6 | |
Paths get automatically added to the store. The INI generator currently chokes on paths, so it is not supported for now. | |||||
2021-05-04 | formats.ini: Introduce `listToValue` argument (#121613) | Silvan Mosberger | 2 | -2/+40 | |
Allows coercing lists to values. E.g. formats.ini { listToValue = lib.concatMapStringsSep ", " (lib.generators.mkValueStringDefault {}); } | |||||
2020-10-19 | pkgs-lib/tests/formats: improve message on failure | Vladimír Čunát | 1 | -4/+4 | |
Foremost, the message was discarding double quotes on one side of the diff, which was super-confusing to me, as I thought that the format convertor broke that when in fact only whitespace was changed. I thought I'd cat the files, but then... switching to `diff -u` seemed self-sufficient. It felt sufficiently non-controversial to push directly, but certainly feel free to improve further. | |||||
2020-10-19 | pkgs-lib/tests/formats: fix whitespace after PR #100372 | Vladimír Čunát | 1 | -2/+0 | |
Naturally, TOML doesn't define the exact shape of everything. nix build -f pkgs/top-level/release.nix pkgs-lib-tests | |||||
2020-07-29 | pkgs-lib: Add tests for formats | Silvan Mosberger | 2 | -0/+159 | |
2020-07-29 | pkgs-lib: Implement settings formats for JSON, INI, YAML and TOML | Silvan Mosberger | 2 | -1/+114 | |
2020-07-29 | pkgs: Add pkgs-lib structure | Silvan Mosberger | 2 | -0/+12 | |