pkgs-lib: Implement settings formats for JSON, INI, YAML and TOML

This commit is contained in:
Silvan Mosberger
2020-07-29 18:08:23 +02:00
parent 888c923880
commit b6c540a87c
3 changed files with 115 additions and 2 deletions
+5 -1
View File
@@ -2,6 +2,10 @@
# they depend on some packages. This notably is *not* for supporting package
# building, instead pkgs/build-support is the place for that.
{ lib, pkgs }: {
# setting format types and generators. These do not fit in lib/types.nix,
# because they depend on pkgs for rendering some formats
formats = import ./formats.nix {
inherit lib pkgs;
};
}