From fa5b9d97497bf8975cb89fb262f1fbc89ecfac03 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Tue, 25 Feb 2025 19:39:35 -0300 Subject: [PATCH] cosmic-launcher: add updateScript --- pkgs/by-name/co/cosmic-launcher/package.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/by-name/co/cosmic-launcher/package.nix b/pkgs/by-name/co/cosmic-launcher/package.nix index ab319d7ba3f7..308933e7f164 100644 --- a/pkgs/by-name/co/cosmic-launcher/package.nix +++ b/pkgs/by-name/co/cosmic-launcher/package.nix @@ -5,6 +5,7 @@ rustPlatform, just, libcosmicAppHook, + nix-update-script, }: rustPlatform.buildRustPackage rec { @@ -44,6 +45,15 @@ rustPlatform.buildRustPackage rec { env."CARGO_TARGET_${stdenv.hostPlatform.rust.cargoEnvVarTarget}_RUSTFLAGS" = "--cfg tokio_unstable"; + passthru.updateScript = nix-update-script { + extraArgs = [ + "--version" + "unstable" + "--version-regex" + "epoch-(.*)" + ]; + }; + meta = { homepage = "https://github.com/pop-os/cosmic-launcher"; description = "Launcher for the COSMIC Desktop Environment";