diff --git a/pkgs/by-name/cr/crabz/package.nix b/pkgs/by-name/cr/crabz/package.nix index 6e8f1e4b061f..4ac89d31b72b 100644 --- a/pkgs/by-name/cr/crabz/package.nix +++ b/pkgs/by-name/cr/crabz/package.nix @@ -3,6 +3,8 @@ rustPlatform, fetchFromGitHub, cmake, + versionCheckHook, + nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -20,6 +22,11 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ cmake ]; + doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; + + passthru.updateScript = nix-update-script { }; + meta = { description = "Cross platform, fast, compression and decompression tool"; homepage = "https://github.com/sstadick/crabz";