echoip: fix version attribute, add updateScript (#409921)

This commit is contained in:
Aleksana
2025-05-23 20:33:27 +08:00
committed by GitHub
+3 -1
View File
@@ -4,11 +4,12 @@
fetchFromGitHub,
makeWrapper,
nixosTests,
nix-update-script,
}:
buildGoModule {
pname = "echoip";
version = "unstable-2023-05-21";
version = "0-unstable-2023-05-21";
src = fetchFromGitHub {
owner = "mpolden";
@@ -29,6 +30,7 @@ buildGoModule {
passthru = {
tests = { inherit (nixosTests) echoip; };
updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
};
meta = {