From b31d1a7fd1c9b31f602c66aaed0a30ae19e09c74 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Mon, 8 Sep 2025 21:02:55 +0300 Subject: [PATCH] nh: 4.1.2 -> 4.2.0 --- pkgs/by-name/nh/nh/package.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/nh/nh/package.nix b/pkgs/by-name/nh/nh/package.nix index 5bf694b29995..b834c35c9d21 100644 --- a/pkgs/by-name/nh/nh/package.nix +++ b/pkgs/by-name/nh/nh/package.nix @@ -6,25 +6,23 @@ makeBinaryWrapper, fetchFromGitHub, nix-update-script, - nvd, nix-output-monitor, buildPackages, }: let runtimeDeps = [ - nvd nix-output-monitor ]; in rustPlatform.buildRustPackage (finalAttrs: { pname = "nh"; - version = "4.1.2"; + version = "4.2.0"; src = fetchFromGitHub { owner = "nix-community"; repo = "nh"; tag = "v${finalAttrs.version}"; - hash = "sha256-v02NsZ589zzPq5xsCxyrG1/ZkFbbMkUthly50QdmYKo="; + hash = "sha256-6n5SVO8zsdVTD691lri7ZcO4zpqYFU8GIvjI6dbxkA8="; }; strictDeps = true; @@ -46,6 +44,9 @@ rustPlatform.buildRustPackage (finalAttrs: { done installShellCompletion completions/* + + cargo xtask man --out-dir gen + installManPage gen/nh.1 '' ); @@ -54,7 +55,7 @@ rustPlatform.buildRustPackage (finalAttrs: { --prefix PATH : ${lib.makeBinPath runtimeDeps} ''; - cargoHash = "sha256-R2S0gbT3DD/Dtx8edqhD0fpDqe8AJgyLmlPoNEKm4BA="; + cargoHash = "sha256-cxZsePgraYevuYQSi3hTU2EsiDyn1epSIcvGi183fIU="; passthru.updateScript = nix-update-script { };