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

12 lines
200 B
Nix
Raw Normal View History

2024-03-13 15:45:34 +00:00
{ stdenv, hugo }:
stdenv.mkDerivation {
name = "blog-hermitcollective-net";
src = ./blog;
nativeBuildInputs = [ hugo ];
buildPhase = ''
2024-03-14 11:15:37 +00:00
cp -r $src/* .
2024-03-14 11:11:59 +00:00
hugo --destination $out
2024-03-14 10:28:03 +00:00
'';
2024-03-13 15:45:34 +00:00
}