From 210c4c2a478e9fffc134e8695dbe6aa8f76a1fde Mon Sep 17 00:00:00 2001 From: Niklas Korz Date: Mon, 30 Dec 2024 12:45:05 +0100 Subject: [PATCH] zed-editor: strip application binary --- pkgs/by-name/ze/zed-editor/package.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/by-name/ze/zed-editor/package.nix b/pkgs/by-name/ze/zed-editor/package.nix index 779705053fc7..1c6d977b7658 100644 --- a/pkgs/by-name/ze/zed-editor/package.nix +++ b/pkgs/by-name/ze/zed-editor/package.nix @@ -288,6 +288,16 @@ rustPlatform.buildRustPackage rec { versionCheckProgramArg = [ "--version" ]; doInstallCheck = true; + # The darwin Applications directory is not stripped by default, see + # https://github.com/NixOS/nixpkgs/issues/367169 + # This setting is not platform-guarded as it doesn't do any harm on Linux, + # where this directory simply does not exist. + stripDebugList = [ + "bin" + "libexec" + "Applications" + ]; + passthru = { updateScript = gitUpdater { rev-prefix = "v";