cosmic-osd: add updateScript

This commit is contained in:
Heitor Augusto
2025-02-13 13:36:57 -03:00
parent 5bfd05be8b
commit d5a328b021
+10
View File
@@ -7,6 +7,7 @@
pulseaudio,
udev,
wayland,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
@@ -33,6 +34,15 @@ rustPlatform.buildRustPackage rec {
env.POLKIT_AGENT_HELPER_1 = "/run/wrappers/bin/polkit-agent-helper-1";
passthru.updateScript = nix-update-script {
extraArgs = [
"--version"
"unstable"
"--version-regex"
"epoch-(.*)"
];
};
meta = with lib; {
homepage = "https://github.com/pop-os/cosmic-osd";
description = "OSD for the COSMIC Desktop Environment";