tvl-depot/website/blog/default.nix

13 lines
283 B
Nix
Raw Normal View History

{ pkgs, ... }:
pkgs.stdenv.mkDerivation {
name = "blog.wpcarro.dev";
buildInputs = with pkgs; [ hugo ];
src = builtins.path { path = ./.; name = "blog"; };
buildPhase = ''
mkdir -p $out
${pkgs.hugo}/bin/hugo --minify --destination $out
'';
dontInstall = true;
}