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
This commit is contained in:
SEIAROTg
2025-05-09 03:26:39 +01:00
parent c8c2643036
commit 5d29f2439c
-3
View File
@@ -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";