Commit 5b3aada8 authored by Colin's avatar Colin
Browse files

wayland-bongocat: invoke `bongocat-find-devices` in `installCheckPhase`

this protects against e.g. `bash` being accidentally removed
from `buildInputs` in the future.
parent 8fd7ee2e
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -54,6 +54,14 @@ stdenv.mkDerivation (finalAttrs: {
  doInstallCheck = true;
  nativeInstallCheckInputs = [ versionCheckHook ];

  installCheckPhase = ''
    runHook preInstallCheck

    $out/bin/bongocat-find-devices --help

    runHook postInstallCheck
  '';

  # Package information
  meta = {
    description = "Delightful Wayland overlay that displays an animated bongo cat reacting to keyboard input";