Yeah I get it now
parent
38edead840
commit
f4dc6da8d5
|
@ -4,8 +4,11 @@ stdenv.mkDerivation {
|
||||||
name = "blog-hermitcollective-net";
|
name = "blog-hermitcollective-net";
|
||||||
src = ./blog;
|
src = ./blog;
|
||||||
nativeBuildInputs = [ hugo ];
|
nativeBuildInputs = [ hugo ];
|
||||||
phases = [ "unpackPhase" "buildPhase" ];
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
hugo --destination $out
|
hugo --destination $out
|
||||||
'';
|
'';
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out
|
||||||
|
cp -r public/* $out/
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue