cosmic-edit: add updateScript

+19 -7
+19 -7
pkgs/by-name/co/cosmic-edit/package.nix
··· 11 11 fontconfig, 12 12 freetype, 13 13 nixosTests, 14 + nix-update-script, 14 15 }: 15 16 16 17 rustPlatform.buildRustPackage (finalAttrs: { ··· 56 57 "target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/cosmic-edit" 57 58 ]; 58 59 59 - passthru.tests = { 60 - inherit (nixosTests) 61 - cosmic 62 - cosmic-autologin 63 - cosmic-noxwayland 64 - cosmic-autologin-noxwayland 65 - ; 60 + passthru = { 61 + tests = { 62 + inherit (nixosTests) 63 + cosmic 64 + cosmic-autologin 65 + cosmic-noxwayland 66 + cosmic-autologin-noxwayland 67 + ; 68 + }; 69 + 70 + updateScript = nix-update-script { 71 + extraArgs = [ 72 + "--version" 73 + "unstable" 74 + "--version-regex" 75 + "epoch-(.*)" 76 + ]; 77 + }; 66 78 }; 67 79 68 80 meta = {