install check that the RSS feed is actually generated
This commit is contained in:
11
default.nix
11
default.nix
@@ -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" ];
|
||||
}
|
||||
|
Reference in New Issue
Block a user