anytype: Remove pointless update script from the main package (#398618)

authored by Aleksana and committed by GitHub c86a9367 d639b16e

-13
-13
pkgs/by-name/an/anytype/package.nix
··· 1 { 2 lib, 3 - runCommand, 4 fetchFromGitHub, 5 buildNpmPackage, 6 pkg-config, ··· 10 makeDesktopItem, 11 copyDesktopItems, 12 commandLineArgs ? "", 13 - nix-update-script, 14 }: 15 16 let ··· 112 startupWMClass = "anytype"; 113 }) 114 ]; 115 - 116 - passthru.updateScript = nix-update-script { 117 - # Prevent updating to versions with '-' in them. 118 - # Necessary since Anytype uses Electron-based 'MAJOR.MINOR.PATCH(-{alpha,beta})?' versioning scheme where each 119 - # {alpha,beta} version increases the PATCH version, releasing a new full release version in GitHub instead of a 120 - # pre-release version. 121 - extraArgs = [ 122 - "--version-regex" 123 - "[^-]*" 124 - ]; 125 - }; 126 127 meta = { 128 inherit description;
··· 1 { 2 lib, 3 fetchFromGitHub, 4 buildNpmPackage, 5 pkg-config, ··· 9 makeDesktopItem, 10 copyDesktopItems, 11 commandLineArgs ? "", 12 }: 13 14 let ··· 110 startupWMClass = "anytype"; 111 }) 112 ]; 113 114 meta = { 115 inherit description;