about summary refs log tree commit diff
path: root/pkgs/servers/gotify/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/gotify/default.nix')
-rw-r--r--pkgs/servers/gotify/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/servers/gotify/default.nix b/pkgs/servers/gotify/default.nix
index 3f9f59a4aeec..5d305c1e4122 100644
--- a/pkgs/servers/gotify/default.nix
+++ b/pkgs/servers/gotify/default.nix
@@ -21,7 +21,7 @@ buildGoModule rec {
     sha256 = import ./source-sha.nix;
   };
 
-  modSha256 = import ./mod-sha.nix;
+  vendorSha256 = import ./vendor-sha.nix;
 
   postPatch = ''
     substituteInPlace app.go \
@@ -38,6 +38,10 @@ buildGoModule rec {
     cp -r ${ui}/libexec/gotify-ui/deps/gotify-ui/build ui/build && packr
   '';
 
+  passthru = {
+    updateScript = ./update.sh;
+  };
+
   # Otherwise, all other subpackages are built as well and from some reason,
   # produce binaries which panic when executed and are not interesting at all
   subPackages = [ "." ];