html.nix/flake.nix

26 lines
535 B
Nix
Raw Normal View History

2021-05-15 02:30:42 +03:00
{
outputs = { self }:
2021-05-15 02:30:42 +03:00
let
utils = import ./utils.nix;
tags = import ./tags.nix { format = false; inherit utils; };
pkgsLib = (final: prev: {
htmlNix = import ./pkgs-lib.nix { pkgs = prev; inherit utils; };
});
2021-05-15 02:30:42 +03:00
in
{
lib = {
inherit tags;
2021-05-15 02:30:42 +03:00
};
overlays = {
inherit pkgsLib;
};
2021-05-15 02:54:56 +03:00
examples = {
tags = import ./examples/tags.nix tags;
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
};
}