cosmic-files: add updateScript

This commit is contained in:
Heitor Augusto
2025-03-05 21:03:49 -03:00
parent 0cb2021d31
commit 142bf12d1e
+10
View File
@@ -6,6 +6,7 @@
just,
libcosmicAppHook,
glib,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -46,6 +47,15 @@ rustPlatform.buildRustPackage (finalAttrs: {
"target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/cosmic-files"
];
passthru.updateScript = nix-update-script {
extraArgs = [
"--version"
"unstable"
"--version-regex"
"epoch-(.*)"
];
};
meta = {
homepage = "https://github.com/pop-os/cosmic-files";
description = "File Manager for the COSMIC Desktop Environment";