2020-03-26 02:54:23 +01:00
|
|
|
# pkgs-lib is for functions and values that can't be in lib because
|
|
|
|
# they depend on some packages. This notably is *not* for supporting package
|
|
|
|
# building, instead pkgs/build-support is the place for that.
|
|
|
|
{ lib, pkgs }: {
|
2020-03-26 02:55:16 +01:00
|
|
|
# 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;
|
|
|
|
};
|
2020-03-26 02:54:23 +01:00
|
|
|
}
|
|
|
|
|