Build resume using nix derivation
This commit is contained in:
3
lib.nix
3
lib.nix
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user