From b86d7d6e9b81bc966f6bf0268bf7219fa68443f7 Mon Sep 17 00:00:00 2001 From: Angel J <78835633+iamanaws@users.noreply.github.com> Date: Wed, 29 Apr 2026 18:04:15 -0700 Subject: [PATCH 1/2] fh: fix changelog URL --- pkgs/by-name/fh/fh/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/fh/fh/package.nix b/pkgs/by-name/fh/fh/package.nix index 8483bcf437fb..e95a31fd5e9a 100644 --- a/pkgs/by-name/fh/fh/package.nix +++ b/pkgs/by-name/fh/fh/package.nix @@ -48,7 +48,7 @@ rustPlatform.buildRustPackage (finalAttrs: { meta = { description = "Official FlakeHub CLI"; homepage = "https://github.com/DeterminateSystems/fh"; - changelog = "https://github.com/DeterminateSystems/fh/releases/tag/${finalAttrs.version}"; + changelog = "https://github.com/DeterminateSystems/fh/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ iamanaws ]; mainProgram = "fh"; From eb1621da462595305dbd7e2bfc847db9389b662c Mon Sep 17 00:00:00 2001 From: Angel J <78835633+iamanaws@users.noreply.github.com> Date: Wed, 29 Apr 2026 18:04:31 -0700 Subject: [PATCH 2/2] fh: cleanup --- pkgs/by-name/fh/fh/package.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/fh/fh/package.nix b/pkgs/by-name/fh/fh/package.nix index e95a31fd5e9a..87cd65c52d07 100644 --- a/pkgs/by-name/fh/fh/package.nix +++ b/pkgs/by-name/fh/fh/package.nix @@ -37,10 +37,9 @@ rustPlatform.buildRustPackage (finalAttrs: { }; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' - installShellCompletion --cmd fh \ - --bash <($out/bin/fh completion bash) \ - --fish <($out/bin/fh completion fish) \ - --zsh <($out/bin/fh completion zsh) + for shell in bash fish zsh; do + installShellCompletion --cmd fh --"$shell" <("$out/bin/fh" completion "$shell") + done ''; __darwinAllowLocalNetworking = true;