Commit 1b03e7d8 authored by Bruno Bigras's avatar Bruno Bigras
Browse files

cloudflared: add updateScript

parent 0b6fa5ee
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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";