Unverified Commit c86a9367 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

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

parents d639b16e 1d8647a2
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
{
  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/";