commit ad28e8cab9f90fb980808e8118975dfc56f6a730
parent 63629038e38f1d5653c52c0c458fc0f96983dbd7
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Sat, 25 Apr 2026 13:33:03 +0400
Drop zed-preview-bin
Diffstat:
1 file changed, 0 insertions(+), 45 deletions(-)
diff --git a/pkgs/by-name/ze/zed-preview-bin/package.nix b/pkgs/by-name/ze/zed-preview-bin/package.nix
@@ -1,45 +0,0 @@
-{
- lib,
- stdenvNoCC,
- fetchfromgh,
- _7zz,
-}:
-
-stdenvNoCC.mkDerivation (finalAttrs: {
- pname = "zed-preview";
- version = "0.221.3-pre";
-
- __structuredAttrs = true;
-
- src = fetchfromgh {
- owner = "zed-industries";
- repo = "zed";
- tag = "v${finalAttrs.version}";
- hash = "sha256-aj+bWrzy+Act6cyk5cMhA6Yc2tQCTgH9b5ho+N2dX4A=";
- name = "Zed-x86_64.dmg";
- };
-
- sourceRoot = ".";
-
- # APFS format is unsupported by undmg
- nativeBuildInputs = [ _7zz ];
- unpackCmd = "7zz x $curSrc";
-
- installPhase = ''
- runHook preInstall
- mkdir -p $out/{Applications,bin}
- cp -r *.app $out/Applications
- ln -s "$out/Applications/Zed Preview.app/Contents/MacOS/cli" $out/bin/zed
- runHook postInstall
- '';
-
- meta = {
- description = "High-performance, multiplayer code editor";
- homepage = "https://zed.dev";
- sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
- license = lib.licenses.free;
- maintainers = [ lib.maintainers.sikmir ];
- platforms = [ "x86_64-darwin" ];
- skip.ci = true;
- };
-})