don't publish Zola's 404 page
This commit is contained in:
parent
af93b5af8a
commit
7c1f6dd936
|
@ -8,7 +8,10 @@ with pkgs;
|
||||||
buildInputs = [ rsync zola ];
|
buildInputs = [ rsync zola ];
|
||||||
nativeBuildInputs = [ gnumake ];
|
nativeBuildInputs = [ gnumake ];
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
mkdir -p $out/share/uninsane-dot-org
|
mkdir -p $out/share/uninsane-dot-org
|
||||||
|
'';
|
||||||
|
postInstall = ''
|
||||||
|
rm $out/share/uninsane-dot-org/404.html
|
||||||
'';
|
'';
|
||||||
installFlags = [ "PREFIX=$(out)/share/uninsane-dot-org" ];
|
installFlags = [ "PREFIX=$(out)/share/uninsane-dot-org" ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue