From 859f3ff6644b479c53e4ff7448297123423dbf83 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Wed, 15 Jun 2022 11:43:32 +0800 Subject: [PATCH] pantheon.elementary-notifications: add updateScript --- .../pantheon/services/elementary-notifications/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/desktops/pantheon/services/elementary-notifications/default.nix b/pkgs/desktops/pantheon/services/elementary-notifications/default.nix index afde58c5f509..98fda866d6ca 100644 --- a/pkgs/desktops/pantheon/services/elementary-notifications/default.nix +++ b/pkgs/desktops/pantheon/services/elementary-notifications/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, nix-update-script , meson , ninja , pkg-config @@ -50,6 +51,12 @@ stdenv.mkDerivation rec { patchShebangs meson/post_install.py ''; + passthru = { + updateScript = nix-update-script { + attrPath = "pantheon.${pname}"; + }; + }; + meta = with lib; { description = "GTK notification server for Pantheon"; homepage = "https://github.com/elementary/notifications";