2021-05-15 02:30:42 +03:00
|
|
|
{
|
2021-05-15 04:11:35 +03:00
|
|
|
outputs = { self }:
|
2021-05-15 02:30:42 +03:00
|
|
|
let
|
2021-05-15 04:11:35 +03:00
|
|
|
utils = import ./utils.nix;
|
2021-05-15 04:02:06 +03:00
|
|
|
|
2021-05-15 04:11:35 +03:00
|
|
|
tags = import ./tags.nix { format = false; inherit utils; };
|
2021-05-15 04:02:06 +03:00
|
|
|
pkgsLib = (final: prev: {
|
2021-05-15 04:11:35 +03:00
|
|
|
htmlNix = import ./pkgs-lib.nix { pkgs = prev; inherit utils; };
|
2021-05-15 04:02:06 +03:00
|
|
|
});
|
2021-05-15 02:30:42 +03:00
|
|
|
in
|
|
|
|
{
|
|
|
|
lib = {
|
2021-05-15 02:51:50 +03:00
|
|
|
inherit tags;
|
2021-05-15 02:30:42 +03:00
|
|
|
};
|
2021-05-15 02:39:30 +03:00
|
|
|
|
|
|
|
overlays = {
|
2021-05-15 04:02:06 +03:00
|
|
|
inherit pkgsLib;
|
2021-05-15 02:39:30 +03:00
|
|
|
};
|
2021-05-15 02:51:50 +03:00
|
|
|
|
2021-05-15 02:54:56 +03:00
|
|
|
examples = {
|
|
|
|
tags = import ./examples/tags.nix tags;
|
2021-05-15 04:02:06 +03:00
|
|
|
serve = import ./examples/serve.nix { inherit tags pkgsLib; }; # needs --impure
|
2021-05-15 02:54:56 +03:00
|
|
|
};
|
2021-05-15 02:30:42 +03:00
|
|
|
};
|
|
|
|
}
|