diff --git a/pkgs/by-name/ze/zed-editor/package.nix b/pkgs/by-name/ze/zed-editor/package.nix index aa704f7aaf154..5c82edc90c4d8 100644 --- a/pkgs/by-name/ze/zed-editor/package.nix +++ b/pkgs/by-name/ze/zed-editor/package.nix @@ -301,6 +301,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";