Unverified Commit 57786e6d authored by Heitor Augusto's avatar Heitor Augusto
Browse files

cosmic-greeter: add updateScript

parent c9c3f370
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
  udev,
  coreutils,
  xkeyboard_config,
  nix-update-script,
}:

rustPlatform.buildRustPackage (finalAttrs: {
@@ -68,6 +69,15 @@ rustPlatform.buildRustPackage (finalAttrs: {
    )
  '';

  passthru.updateScript = nix-update-script {
    extraArgs = [
      "--version"
      "unstable"
      "--version-regex"
      "epoch-(.*)"
    ];
  };

  meta = {
    homepage = "https://github.com/pop-os/cosmic-greeter";
    description = "Greeter for the COSMIC Desktop Environment";