From b9497d93ecbb3fd89148c7f1f623b8c012927170 Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Fri, 5 Jun 2026 12:17:43 +0200 Subject: [PATCH] songrec: add versionCheckHook --- pkgs/by-name/so/songrec/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/so/songrec/package.nix b/pkgs/by-name/so/songrec/package.nix index 42a4409893c9..58d96dcd3220 100644 --- a/pkgs/by-name/so/songrec/package.nix +++ b/pkgs/by-name/so/songrec/package.nix @@ -12,6 +12,7 @@ ffmpeg, glib, libpulseaudio, + versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -52,6 +53,9 @@ rustPlatform.buildRustPackage (finalAttrs: { mv packaging/rootfs/usr/share $out/share ''; + doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; + meta = { description = "Open-source Shazam client for Linux, written in Rust"; homepage = "https://github.com/marin-m/SongRec";