From bac07bce8871a19d791fcf830f519789473cb1e8 Mon Sep 17 00:00:00 2001 From: Oleksii Filonenko Date: Wed, 8 Jul 2026 15:57:27 +0100 Subject: [PATCH] hk: 1.48.0 -> 1.50.0 --- pkgs/by-name/hk/hk/package.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/hk/hk/package.nix b/pkgs/by-name/hk/hk/package.nix index 6e2ebfa81cd8..b22ac9c9fa35 100644 --- a/pkgs/by-name/hk/hk/package.nix +++ b/pkgs/by-name/hk/hk/package.nix @@ -14,7 +14,7 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "hk"; - version = "1.48.0"; + version = "1.50.0"; __structuredAttrs = true; @@ -22,14 +22,13 @@ rustPlatform.buildRustPackage (finalAttrs: { owner = "jdx"; repo = "hk"; tag = "v${finalAttrs.version}"; - hash = "sha256-jQVEKyFdzeVLBKkX3/zjJBXawxR6ayuf+8wSingESZA="; + hash = "sha256-1sty3JUxiT4UDPmoqR6vql9bQcoSR+xfq3dQzT6u6rY="; }; - cargoHash = "sha256-QzjoLnHlGTdnNfsfaRn7ZVeTwQZumN87IOhubLcEDLQ="; + cargoHash = "sha256-oUgAzO7kWVlbw1ZvcjqIdV78tvXQYlV5bwvOSucQvWE="; nativeBuildInputs = [ installShellFiles - versionCheckHook pkg-config usage ]; @@ -58,6 +57,9 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoTestFlags = [ "--all-features" ]; + doInstallCheck = true; + nativeInstallCheckInputs = [ versionCheckHook ]; + postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd hk \ --bash <($out/bin/hk completion bash) \