Unverified Commit 4485ce7a authored by Heitor Augusto's avatar Heitor Augusto
Browse files

cosmic-comp: add updateScript

parent 5107cc35
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -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";