2024-03-13 15:45:34 +00:00
|
|
|
{ stdenv, hugo }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "blog-hermitcollective-net";
|
|
|
|
src = ./blog;
|
|
|
|
nativeBuildInputs = [ hugo ];
|
|
|
|
buildPhase = ''
|
2024-03-14 09:56:53 +00:00
|
|
|
hugo --destination $out
|
2024-03-13 15:45:34 +00:00
|
|
|
'';
|
2024-03-14 10:28:03 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cp -r public/* $out/
|
|
|
|
'';
|
2024-03-13 15:45:34 +00:00
|
|
|
}
|