about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorseth2024-07-12 19:20:49 -0400
committerseth2024-07-14 15:33:01 -0400
commit0470485ff946998fe1fe96b3f264b222b7590d01 (patch)
tree84b492072d3c2d287a02d03c9d4ad610d305dbbd /pkgs
parentd623736294070d367157cea695e8ed5769f13766 (diff)
budgie-session: modernize
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/by-name/bu/budgie-session/package.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/by-name/bu/budgie-session/package.nix b/pkgs/by-name/bu/budgie-session/package.nix
index aa6af162344b..0dfd4dc60824 100644
--- a/pkgs/by-name/bu/budgie-session/package.nix
+++ b/pkgs/by-name/bu/budgie-session/package.nix
@@ -22,6 +22,7 @@
   libxslt,
   gettext,
   makeWrapper,
+  nix-update-script,
   systemd,
   xorg,
   libepoxy,
@@ -47,9 +48,9 @@ stdenv.mkDerivation (finalAttrs: {
   patches = [
     (substituteAll {
       src = ./fix-paths.patch;
-      gsettings = "${glib.bin}/bin/gsettings";
-      dbusLaunch = "${dbus.lib}/bin/dbus-launch";
-      bash = "${bash}/bin/bash";
+      gsettings = lib.getExe' glib "gsettings";
+      dbusLaunch = lib.getExe' dbus "dbus-launch";
+      bash = lib.getExe bash;
     })
   ];
 
@@ -98,9 +99,14 @@ stdenv.mkDerivation (finalAttrs: {
 
   separateDebugInfo = true;
 
+  passthru = {
+    updateScript = nix-update-script { };
+  };
+
   meta = {
     description = "Session manager for Budgie";
     homepage = "https://github.com/BuddiesOfBudgie/budgie-session";
+    changelog = "https://github.com/BuddiesOfBudgie/budgie-session/releases/tag/v${finalAttrs.version}";
     license = lib.licenses.gpl2Plus;
     maintainers = lib.teams.budgie.members;
     platforms = lib.platforms.linux;