From 7486ec0e387ec5885e21c82785028656d60ac6aa Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Wed, 23 Apr 2025 22:11:47 +0300 Subject: [PATCH 1/2] nh: 3.6.0 -> 4.0.0 --- pkgs/by-name/nh/nh/package.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/nh/nh/package.nix b/pkgs/by-name/nh/nh/package.nix index 90b23a32c65c..de14c9ca3470 100644 --- a/pkgs/by-name/nh/nh/package.nix +++ b/pkgs/by-name/nh/nh/package.nix @@ -19,13 +19,13 @@ let in rustPlatform.buildRustPackage (finalAttrs: { pname = "nh"; - version = "3.6.0"; + version = "4.0.0"; src = fetchFromGitHub { owner = "nix-community"; repo = "nh"; tag = "v${finalAttrs.version}"; - hash = "sha256-k8rz5RF1qi7RXzQYWGbw5pJRNRFIdX85SIYN+IHiVL4="; + hash = "sha256-Pqff6gVSNP2kA0Oo0t9CUy9cdf2yGnwSfwlOvS5LtKM="; }; strictDeps = true; @@ -45,9 +45,9 @@ rustPlatform.buildRustPackage (finalAttrs: { in '' mkdir completions - ${emulator} $out/bin/nh completions --shell bash > completions/nh.bash - ${emulator} $out/bin/nh completions --shell zsh > completions/nh.zsh - ${emulator} $out/bin/nh completions --shell fish > completions/nh.fish + ${emulator} $out/bin/nh completions bash > completions/nh.bash + ${emulator} $out/bin/nh completions zsh > completions/nh.zsh + ${emulator} $out/bin/nh completions fish > completions/nh.fish installShellCompletion completions/* '' @@ -59,7 +59,7 @@ rustPlatform.buildRustPackage (finalAttrs: { ''; useFetchCargoVendor = true; - cargoHash = "sha256-Csh8M5BquAD2vUYIu0nNWSvznTZxno1WxvkEhBVN+9c="; + cargoHash = "sha256-alZFjeBJskp4vu+uaEy9tMkdS1aXcv8d6AQ8jeJKEOA="; passthru.updateScript = nix-update-script { }; From 2a9a8f20eb20de32c646fd7e4bb7153c7d025793 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Wed, 23 Apr 2025 22:12:29 +0300 Subject: [PATCH 2/2] nh: add NotAShelf to maintainers --- pkgs/by-name/nh/nh/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/nh/nh/package.nix b/pkgs/by-name/nh/nh/package.nix index de14c9ca3470..ba7aa95779a6 100644 --- a/pkgs/by-name/nh/nh/package.nix +++ b/pkgs/by-name/nh/nh/package.nix @@ -70,6 +70,7 @@ rustPlatform.buildRustPackage (finalAttrs: { mainProgram = "nh"; maintainers = with lib.maintainers; [ drupol + NotAShelf viperML ]; };