Bundle files from web-files at build time.

This commit is contained in:
2023-11-30 07:09:28 +00:00
parent ab4b92d031
commit aebf198ca8
4 changed files with 162 additions and 13 deletions

View File

@@ -10,9 +10,10 @@
type = "git";
submodules = true;
};
web-files.url = "git+https://dev.danilafe.com/Nix-Configs/web-files.git";
};
outputs = { self, blog-source, nixpkgs, flake-utils, katex-html, resume }:
outputs = { self, blog-source, nixpkgs, flake-utils, katex-html, resume, web-files }:
flake-utils.lib.eachDefaultSystem (system:
let
lib = import ./lib.nix {
@@ -20,6 +21,7 @@
pkgs = import nixpkgs { inherit system; };
katex-html = katex-html.defaultPackage.${system};
resume = resume.defaultPackage.${system};
web-files = web-files.defaultPackage.${system};
};
in
{