install check that the RSS feed is actually generated

This commit is contained in:
2024-11-16 14:32:00 +00:00
parent 6c1a73d6ef
commit 70a0b79689

View File

@@ -15,5 +15,16 @@ stdenv.mkDerivation {
postInstall = ''
rm $out/share/uninsane-dot-org/404.html
'';
installCheckPhase = ''
runHook preInstallCheck
test -f $out/share/uninsane-dot-org/atom.xml
runHook postInstallCheck
'';
doInstallCheck = true;
installFlags = [ "PREFIX=$(out)/share/uninsane-dot-org" ];
}