diff --git a/default.nix b/default.nix index 362a0d1..f4fc7dd 100644 --- a/default.nix +++ b/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" ]; }