diff options
author | William Carroll <wpcarro@gmail.com> | 2020-03-20T00·46+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-03-20T00·46+0000 |
commit | 95e761e59b739c1cd702f70757225d7d01325284 (patch) | |
tree | 86628cc050ff09fa8b629fd5889b054010daa956 /website/blog/default.nix | |
parent | 54d1a0048a7101dc51bbea49feed7cded5031b17 (diff) |
Move blog into website/blog
Nest the blog work within the website directory.
Diffstat (limited to 'website/blog/default.nix')
-rw-r--r-- | website/blog/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/website/blog/default.nix b/website/blog/default.nix new file mode 100644 index 000000000000..437f5cc108d7 --- /dev/null +++ b/website/blog/default.nix @@ -0,0 +1,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; +} |