Yeah I get it now

Main
Johannes Hendrik Gerard van der Weide 2024-03-14 11:28:03 +01:00
parent 38edead840
commit f4dc6da8d5
1 changed files with 4 additions and 1 deletions

View File

@ -4,8 +4,11 @@ stdenv.mkDerivation {
name = "blog-hermitcollective-net";
src = ./blog;
nativeBuildInputs = [ hugo ];
phases = [ "unpackPhase" "buildPhase" ];
buildPhase = ''
hugo --destination $out
'';
installPhase = ''
mkdir -p $out
cp -r public/* $out/
'';
}