about summary refs log tree commit diff
path: root/pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix')
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix
index 6cb2fcc66c020..0d6782dc821e0 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix
@@ -6,7 +6,7 @@
 , xfce4-panel
 , libxfce4ui
 , xfconf
-, xfce
+, gitUpdater
 }:
 
 let
@@ -31,7 +31,10 @@ in stdenv.mkDerivation rec {
     xfconf
   ];
 
-  passthru.updateScript = xfce.archiveUpdater { inherit category pname version; };
+  passthru.updateScript = gitUpdater {
+    url = "https://gitlab.xfce.org/panel-plugins/${pname}";
+    rev-prefix = "${pname}-";
+  };
 
   meta = with lib; {
     homepage = "https://docs.xfce.org/panel-plugins/xfce4-notes-plugin";