Build resume using nix derivation

This commit is contained in:
2023-02-20 05:49:59 +00:00
parent 1b7cf307db
commit d065ca364e
4 changed files with 62 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
{ blog-source, pkgs, katex-html }:
{ blog-source, pkgs, katex-html, resume }:
with pkgs;
with lib;
@@ -7,6 +7,7 @@ let
protocol = ssl: if ssl then "https://" else "http://";
website = settings: stdenv.mkDerivation {
inherit (settings) src ssl host;
inherit resume;
name = "blog-static";
version = settings.src.rev or "dirty";
publicPath = settings.path;