diff options
author | Aluísio Augusto Silva Gonçalves <aluisio@aasg.name> | 2021-04-30 20:58:58 -0300 |
---|---|---|
committer | Aluísio Augusto Silva Gonçalves <aluisio@aasg.name> | 2021-04-30 21:46:03 -0300 |
commit | bd722f1105462dab55246d179711e917b72477d4 (patch) | |
tree | a2caa898736ed8c2552376c123c9372cedf8f30a /pkgs/applications/misc | |
parent | cd5f229e4f1da480b876946938147a025de104a2 (diff) |
haunt: enable tests and verify that the binary works
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/haunt/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/misc/haunt/default.nix b/pkgs/applications/misc/haunt/default.nix index 124e441a5af21..5994039252543 100644 --- a/pkgs/applications/misc/haunt/default.nix +++ b/pkgs/applications/misc/haunt/default.nix @@ -27,12 +27,21 @@ stdenv.mkDerivation rec { guile-reader ]; + doCheck = true; + postInstall = '' wrapProgram $out/bin/haunt \ --prefix GUILE_LOAD_PATH : "$out/share/guile/site:${guile-commonmark}/share/guile/site:${guile-reader}/share/guile/site" \ --prefix GUILE_LOAD_COMPILED_PATH : "$out/share/guile/site:${guile-commonmark}/share/guile/site:${guile-reader}/share/guile/site" ''; + doInstallCheck = true; + installCheckPhase = '' + runHook preInstallCheck + $out/bin/haunt --version + runHook postInstallCheck + ''; + meta = with lib; { homepage = "https://dthompson.us/projects/haunt.html"; description = "Guile-based static site generator"; @@ -53,7 +62,7 @@ stdenv.mkDerivation rec { to do things that aren't provided out-of-the-box. ''; license = licenses.gpl3Plus; - maintainers = with maintainers; [ AndersonTorres ]; + maintainers = with maintainers; [ AndersonTorres AluisioASG ]; platforms = guile.meta.platforms; }; } |