pocketbase: add passthru.updateScript

This commit is contained in:
Thilo Billerbeck 2023-11-09 14:38:51 +01:00
parent bce155566a
commit 4a59f5a875

View file

@ -1,6 +1,7 @@
{ lib { lib
, buildGoModule , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, nix-update-script
}: }:
buildGoModule rec { buildGoModule rec {
@ -32,6 +33,8 @@ buildGoModule rec {
mv $out/bin/base $out/bin/pocketbase mv $out/bin/base $out/bin/pocketbase
''; '';
passthru.updateScript = nix-update-script { };
meta = with lib; { meta = with lib; {
description = "Open Source realtime backend in 1 file"; description = "Open Source realtime backend in 1 file";
homepage = "https://github.com/pocketbase/pocketbase"; homepage = "https://github.com/pocketbase/pocketbase";