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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user