HermitCollective.nix/sites/blog.hermitcollective.net/package.nix

12 lines
200 B
Nix

{ stdenv, hugo }:
stdenv.mkDerivation {
name = "blog-hermitcollective-net";
src = ./blog;
nativeBuildInputs = [ hugo ];
buildPhase = ''
cp -r $src/* .
hugo --destination $out
'';
}