zed-editor: use github releases for updateScript

This commit is contained in:
Bryan Lai
2025-09-07 02:01:02 +08:00
parent c6a788f552
commit a0ec0da4dc
+5
View File
@@ -313,6 +313,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
extraArgs = [
"--version-regex"
"^v(?!.*(?:-pre|0\.999999\.0|0\.9999-temporary)$)(.+)$"
# use github releases instead of git tags
# zed sometimes moves git tags, making them unreliable
# see: https://github.com/NixOS/nixpkgs/pull/439893#issuecomment-3250497178
"--use-github-releases"
];
};
fhs = fhs { zed-editor = finalAttrs.finalPackage; };