diff --git a/pkgs/by-name/te/terminal-toys/package.nix b/pkgs/by-name/te/terminal-toys/package.nix index a005cfb18fe5..56594e17941d 100644 --- a/pkgs/by-name/te/terminal-toys/package.nix +++ b/pkgs/by-name/te/terminal-toys/package.nix @@ -2,6 +2,8 @@ lib, rustPlatform, fetchFromGitHub, + versionCheckHook, + nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -17,6 +19,11 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-hjWPWNwZxJkuoFuEUuf7SOSJ4CEtqwCOV5ZM7CGtvfY="; + doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; + + passthru.updateScript = nix-update-script { }; + meta = { description = "Screensavers for your terminal"; homepage = "https://github.com/Seebass22/terminal-toys";