From 5d29f2439c9db2ce26ea96b16ae9d24a62925fd5 Mon Sep 17 00:00:00 2001 From: SEIAROTg Date: Fri, 9 May 2025 03:26:39 +0100 Subject: [PATCH] goshs: fix auto updating `gitUpdater` is known not to work well with `vendorHash` [1]. `nixpkgs-update` backed off here as a update script was specified [2], [3], which worked locally once `passthru.updateScript` was removed. [1]: https://wiki.nixos.org/wiki/Nixpkgs/Update_Scripts [2]: https://github.com/nix-community/nixpkgs-update/blob/ebb24cc0d648daaf5af784b368fe7d456bd69ec7/src/Rewrite.hs#L166-L189 [3]: https://nixpkgs-update-logs.nix-community.org/goshs/2025-05-04.log --- pkgs/by-name/go/goshs/package.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/by-name/go/goshs/package.nix b/pkgs/by-name/go/goshs/package.nix index 4e22ec4e92d2..fe05dc857dcf 100644 --- a/pkgs/by-name/go/goshs/package.nix +++ b/pkgs/by-name/go/goshs/package.nix @@ -1,7 +1,6 @@ { buildGoModule, fetchFromGitHub, - gitUpdater, stdenv, versionCheckHook, lib, @@ -33,8 +32,6 @@ buildGoModule (finalAttrs: { "-skip=^TestGetIPv4Addr$" ]; - passthru.updateScript = gitUpdater { rev-prefix = "v"; }; - meta = { description = "Simple, yet feature-rich web server written in Go"; homepage = "https://goshs.de";