echoip: add updateScript

This commit is contained in:
Defelo 2025-05-23 00:03:16 +02:00
parent 177135194d
commit bd56cec8d3
No known key found for this signature in database
GPG key ID: 2A05272471204DD3

View file

@ -4,6 +4,7 @@
fetchFromGitHub,
makeWrapper,
nixosTests,
nix-update-script,
}:
buildGoModule {
@ -29,6 +30,7 @@ buildGoModule {
passthru = {
tests = { inherit (nixosTests) echoip; };
updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
};
meta = {