cosmic-launcher: add updateScript

This commit is contained in:
Heitor Augusto
2025-02-25 19:39:35 -03:00
parent c89ddf743b
commit fa5b9d9749
@@ -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";