expose everything in the flake
This commit is contained in:
parent
cd87745a78
commit
e092c3db60
11
flake.nix
11
flake.nix
|
@ -11,8 +11,15 @@
|
|||
};
|
||||
nixite = import ./nixite/. {inherit pkgs;};
|
||||
in {
|
||||
serve = nixite.serve;
|
||||
mkSite = nixite.mkSite;
|
||||
html = nixite.html;
|
||||
elems = nixite.elems;
|
||||
site = nixite.site;
|
||||
md = nixite.md;
|
||||
|
||||
packages.${system} = {
|
||||
default = with nixite;
|
||||
default = with self;
|
||||
mkSite (site.applyStyle ./testing/src/style.css {
|
||||
"index.html" = with elems; (doc
|
||||
[
|
||||
|
@ -41,7 +48,7 @@
|
|||
};
|
||||
});
|
||||
|
||||
serve = nixite.serve self.packages.${system}.default;
|
||||
serve = self.serve self.packages.${system}.default;
|
||||
|
||||
test = let
|
||||
test = import ./testing/import.nix;
|
||||
|
|
Loading…
Reference in a new issue