cosmic-comp: add updateScript

This commit is contained in:
Heitor Augusto
2025-03-21 06:23:24 -03:00
parent 5107cc35fb
commit 4485ce7a24
+11 -1
View File
@@ -11,8 +11,9 @@
pixman,
seatd,
udev,
xwayland,
systemd,
xwayland,
nix-update-script,
useXWayland ? true,
useSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
@@ -62,6 +63,15 @@ rustPlatform.buildRustPackage (finalAttrs: {
libcosmicAppWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ xwayland ]})
'';
passthru.updateScript = nix-update-script {
extraArgs = [
"--version"
"unstable"
"--version-regex"
"epoch-(.*)"
];
};
meta = {
homepage = "https://github.com/pop-os/cosmic-comp";
description = "Compositor for the COSMIC Desktop Environment";