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:
@@ -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/";
|
||||
|
||||
Reference in New Issue
Block a user