anytype: Remove pointless update script from main package

Anytype cannot be updated separately from its dependencies which need to
 be updated together with the main package. Therefore, it is pointless
 to keep the update script in the main package.
This commit is contained in:
David Chocholatý
2025-04-19 17:33:17 +02:00
parent 0d5f1b02f2
commit 1d8647a28c
-13
View File
@@ -1,6 +1,5 @@
{
lib,
runCommand,
fetchFromGitHub,
buildNpmPackage,
pkg-config,
@@ -10,7 +9,6 @@
makeDesktopItem,
copyDesktopItems,
commandLineArgs ? "",
nix-update-script,
}:
let
@@ -113,17 +111,6 @@ buildNpmPackage {
})
];
passthru.updateScript = nix-update-script {
# Prevent updating to versions with '-' in them.
# Necessary since Anytype uses Electron-based 'MAJOR.MINOR.PATCH(-{alpha,beta})?' versioning scheme where each
# {alpha,beta} version increases the PATCH version, releasing a new full release version in GitHub instead of a
# pre-release version.
extraArgs = [
"--version-regex"
"[^-]*"
];
};
meta = {
inherit description;
homepage = "https://anytype.io/";