diff --git a/pkgs/by-name/sp/spotifyd/package.nix b/pkgs/by-name/sp/spotifyd/package.nix index ff4c03e28e33..679a15ecb37f 100644 --- a/pkgs/by-name/sp/spotifyd/package.nix +++ b/pkgs/by-name/sp/spotifyd/package.nix @@ -16,6 +16,8 @@ withKeyring ? false, dbus, nix-update-script, + testers, + spotifyd, }: rustPackages.rustPlatform.buildRustPackage rec { @@ -51,6 +53,10 @@ rustPackages.rustPlatform.buildRustPackage rec { doCheck = false; passthru = { + tests.version = testers.testVersion { + package = spotifyd; + version = builtins.head (lib.splitString "-" version); + }; updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; }; };