From 5b3aada8037f911a3d6fc225bc25dcbe5b211be0 Mon Sep 17 00:00:00 2001 From: Colin Date: Thu, 16 Oct 2025 20:34:50 +0000 Subject: [PATCH] wayland-bongocat: invoke `bongocat-find-devices` in `installCheckPhase` this protects against e.g. `bash` being accidentally removed from `buildInputs` in the future. --- pkgs/by-name/wa/wayland-bongocat/package.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/by-name/wa/wayland-bongocat/package.nix b/pkgs/by-name/wa/wayland-bongocat/package.nix index 6d2c06b1e21d..0626341a23d4 100644 --- a/pkgs/by-name/wa/wayland-bongocat/package.nix +++ b/pkgs/by-name/wa/wayland-bongocat/package.nix @@ -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";