about summary refs log blame commit diff
path: root/website/blog/default.nix
blob: 437f5cc108d746e34ba8ece2a2cb81ff2dc97e46 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                     
{ 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;
}