cloudflared: add updateScript

This commit is contained in:
Bruno Bigras 2024-08-23 23:55:18 -04:00
parent 0b6fa5ee40
commit 1b03e7d8e5

View File

@ -3,6 +3,7 @@
, buildGoModule
, fetchFromGitHub
, callPackage
, gitUpdater
}:
buildGoModule rec {
@ -70,7 +71,10 @@ buildGoModule rec {
doCheck = !stdenv.isDarwin;
passthru.tests.simple = callPackage ./tests.nix { inherit version; };
passthru = {
tests.simple = callPackage ./tests.nix { inherit version; };
updateScript = gitUpdater { };
};
meta = with lib; {
description = "Cloudflare Tunnel daemon, Cloudflare Access toolkit, and DNS-over-HTTPS client";