about summary refs log blame commit diff
path: root/website/blog/default.nix
blob: cea9e8706cd6a9536767c9fe7ea0528ea76434e2 (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 = builtins.path { path = ./.; name = "blog"; };
  buildPhase = ''
    mkdir -p $out
    ${pkgs.hugo}/bin/hugo --minify --destination $out
  '';
  dontInstall = true;
}