cosmic-comp: add updateScript
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user