tvl-depot/website/blog/default.nix
William Carroll 95e761e59b Move blog into website/blog
Nest the blog work within the website directory.
2020-03-20 00:46:29 +00:00

12 lines
242 B
Nix

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