diff options
Diffstat (limited to '')
| -rw-r--r-- | pkgs/zola-static/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/zola-static/default.nix b/pkgs/zola-static/default.nix new file mode 100644 index 0000000..a975ae3 --- /dev/null +++ b/pkgs/zola-static/default.nix @@ -0,0 +1,18 @@ +{ + stdenv, + zola, + site, + src, +}: +stdenv.mkDerivation { + pname = "${site}-static"; + version = "0.0.1"; #TODO + + inherit src; + + nativeBuildInputs = [ zola ]; + + buildPhase = '' + zola build --output-dir $out + ''; +} |
