diff options
| author | Alejandro Soto <alejandro@34project.org> | 2025-09-06 12:06:00 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2025-09-06 12:19:13 -0600 |
| commit | d8b9cf1f61cc07d625f1c37ccc28adfd58918416 (patch) | |
| tree | baeba46681c889ba77aaf1025dd95bf429cb13a2 /pkgs/zola-static/default.nix | |
| parent | d6ae13d24c0e145ab612091818105b271c4a8cb8 (diff) | |
sys/web/sites/portal: enable static site at sysret.org
Diffstat (limited to 'pkgs/zola-static/default.nix')
| -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 + ''; +} |
