diff --git a/pkgs/by-name/ze/zed-editor/Cargo.lock b/pkgs/by-name/ze/zed-editor/Cargo.lock index 44273cb00ba1..b018fb9da1d6 100644 --- a/pkgs/by-name/ze/zed-editor/Cargo.lock +++ b/pkgs/by-name/ze/zed-editor/Cargo.lock @@ -14375,7 +14375,7 @@ dependencies = [ [[package]] name = "zed" -version = "0.154.3" +version = "0.154.4" dependencies = [ "activity_indicator", "anyhow", diff --git a/pkgs/by-name/ze/zed-editor/package.nix b/pkgs/by-name/ze/zed-editor/package.nix index 119f9148e609..98468e4cc593 100644 --- a/pkgs/by-name/ze/zed-editor/package.nix +++ b/pkgs/by-name/ze/zed-editor/package.nix @@ -27,7 +27,7 @@ makeFontsConf, vulkan-loader, envsubst, - nix-update-script, + gitUpdater, cargo-about, testers, zed-editor, @@ -86,13 +86,13 @@ let in rustPlatform.buildRustPackage rec { pname = "zed-editor"; - version = "0.154.3"; + version = "0.154.4"; src = fetchFromGitHub { owner = "zed-industries"; repo = "zed"; rev = "refs/tags/v${version}"; - hash = "sha256-6W4YKtYeLUv1N51YJonb7I2BO4zEESgI8vmMhJVoLDI="; + hash = "sha256-/sL5SVRNVJBMPPZek9zBiek3nXHI1czNwbkGtlk9CzU="; fetchSubmodules = true; }; @@ -244,11 +244,9 @@ rustPlatform.buildRustPackage rec { ''; passthru = { - updateScript = nix-update-script { - extraArgs = [ - "--version-regex" - "v(.*)" - ]; + updateScript = gitUpdater { + rev-prefix = "v"; + ignoredVersions = "pre"; }; tests.version = testers.testVersion { inherit version;