From 1d9f567adaf2c542a309de20257930e524c09ffd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Sat, 30 Nov 2024 16:40:55 +0100 Subject: [PATCH] dunst: add update script --- pkgs/by-name/du/dunst/package.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/du/dunst/package.nix b/pkgs/by-name/du/dunst/package.nix index 3e91f374e327..e37b9df29274 100644 --- a/pkgs/by-name/du/dunst/package.nix +++ b/pkgs/by-name/du/dunst/package.nix @@ -24,6 +24,7 @@ xorgproto, librsvg, testers, + nix-update-script, withX11 ? true, withWayland ? true, }: @@ -98,7 +99,12 @@ stdenv.mkDerivation (finalAttrs: { --replace-fail "jq" "${lib.getExe jq}" ''; - passthru.tests.version = testers.testVersion { package = finalAttrs.finalPackage; }; + passthru = { + tests.version = testers.testVersion { + package = finalAttrs.finalPackage; + }; + updateScript = nix-update-script { }; + }; meta = with lib; { description = "Lightweight and customizable notification daemon";