diff --git a/pkgs/servers/dendrite/default.nix b/pkgs/servers/dendrite/default.nix index 935955e7bc44..ddffa995b5cd 100644 --- a/pkgs/servers/dendrite/default.nix +++ b/pkgs/servers/dendrite/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub, fetchpatch +{ lib, buildGoModule, fetchFromGitHub, fetchpatch, nix-update-script , nixosTests, postgresql, postgresqlTestHook }: buildGoModule rec { @@ -55,6 +55,9 @@ buildGoModule rec { passthru.tests = { inherit (nixosTests) dendrite; }; + passthru.updateScript = nix-update-script { + extraArgs = [ "--version-regex" "v(.+)" ]; + }; meta = with lib; { homepage = "https://matrix-org.github.io/dendrite";