mpdris2-rs: add updateScript

This commit is contained in:
Acid Bong
2025-09-21 11:54:05 +03:00
parent a7c9cc7848
commit 7c36d21f33
+3
View File
@@ -2,6 +2,7 @@
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "mpdris2-rs";
@@ -23,6 +24,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
install -Dm644 misc/mpdris2-rs.service -t $out/lib/systemd/user
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "Exposing MPRIS V2.2 D-Bus interface for MPD";
longDescription = ''