diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2020-04-13 18:09:24 -0300 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2020-04-15 09:45:25 -0300 |
commit | 8162d76b18e17552f885ab01d9b9302707fd70c8 (patch) | |
tree | 58447d64edde1bd8a3d82f26f6bacafdf5b56d89 /pkgs/desktops/xfce/default.nix | |
parent | 827a6619eb7732b9b9e823fd8f120d2c78394f33 (diff) |
xfce: tailor general update scripts to the xfce packages
Diffstat (limited to 'pkgs/desktops/xfce/default.nix')
-rw-r--r-- | pkgs/desktops/xfce/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/desktops/xfce/default.nix b/pkgs/desktops/xfce/default.nix index 9f49299c03a8..e90eaa47e828 100644 --- a/pkgs/desktops/xfce/default.nix +++ b/pkgs/desktops/xfce/default.nix @@ -3,6 +3,14 @@ lib.makeScope pkgs.newScope (self: with self; { #### NixOS support + updateScript = callPackage ../../common-updater/update-script.nix { }; + + gitLister = url: + "${pkgs.common-updater-scripts}/bin/list-git-tags ${url}"; + + archiveLister = category: name: + "${pkgs.common-updater-scripts}/bin/list-archive-two-level-versions https://archive.xfce.org/src/${category}/${name}"; + mkXfceDerivation = callPackage ./mkXfceDerivation.nix { }; automakeAddFlags = pkgs.makeSetupHook { } ./automakeAddFlags.sh; |