cosmic-notifications: add updateScript

This commit is contained in:
Heitor Augusto
2025-04-18 00:40:54 +05:30
committed by Masum Reza
parent 7eca501ae5
commit a0912c4aa4
@@ -7,6 +7,7 @@
libcosmicAppHook,
which,
nixosTests,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -44,13 +45,24 @@ rustPlatform.buildRustPackage (finalAttrs: {
"target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/cosmic-notifications"
];
passthru.tests = {
inherit (nixosTests)
cosmic
cosmic-autologin
cosmic-noxwayland
cosmic-autologin-noxwayland
;
passthru = {
tests = {
inherit (nixosTests)
cosmic
cosmic-autologin
cosmic-noxwayland
cosmic-autologin-noxwayland
;
};
updateScript = nix-update-script {
extraArgs = [
"--version"
"unstable"
"--version-regex"
"epoch-(.*)"
];
};
};
meta = {