Yeah I get it now
parent
38edead840
commit
f4dc6da8d5
|
@ -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/
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue