haunt: enable tests and verify that the binary works

+10 -1
+10 -1
pkgs/applications/misc/haunt/default.nix
··· 27 27 guile-reader 28 28 ]; 29 29 30 + doCheck = true; 31 + 30 32 postInstall = '' 31 33 wrapProgram $out/bin/haunt \ 32 34 --prefix GUILE_LOAD_PATH : "$out/share/guile/site:${guile-commonmark}/share/guile/site:${guile-reader}/share/guile/site" \ 33 35 --prefix GUILE_LOAD_COMPILED_PATH : "$out/share/guile/site:${guile-commonmark}/share/guile/site:${guile-reader}/share/guile/site" 36 + ''; 37 + 38 + doInstallCheck = true; 39 + installCheckPhase = '' 40 + runHook preInstallCheck 41 + $out/bin/haunt --version 42 + runHook postInstallCheck 34 43 ''; 35 44 36 45 meta = with lib; { ··· 53 62 to do things that aren't provided out-of-the-box. 54 63 ''; 55 64 license = licenses.gpl3Plus; 56 - maintainers = with maintainers; [ AndersonTorres ]; 65 + maintainers = with maintainers; [ AndersonTorres AluisioASG ]; 57 66 platforms = guile.meta.platforms; 58 67 }; 59 68 }