From bf259ea370b19600ef0b361c4af58cc829abf1c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Sat, 21 Mar 2026 10:49:41 +1100 Subject: [PATCH] element-desktop: fix darwin build --- pkgs/by-name/el/element-desktop/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/el/element-desktop/package.nix b/pkgs/by-name/el/element-desktop/package.nix index 453b13c768f4..d62ac5ad5a1b 100644 --- a/pkgs/by-name/el/element-desktop/package.nix +++ b/pkgs/by-name/el/element-desktop/package.nix @@ -18,6 +18,7 @@ asar, copyDesktopItems, darwin, + actool, }: let @@ -58,6 +59,7 @@ stdenv.mkDerivation ( ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.autoSignDarwinBinariesHook + actool ]; inherit seshat; @@ -163,6 +165,10 @@ stdenv.mkDerivation ( }) ]; + stripDebugList = lib.optionals stdenv.hostPlatform.isDarwin [ + "Applications/Element.app/Contents/MacOS" + ]; + passthru = { # run with: nix-shell ./maintainers/scripts/update.nix --argstr package element-desktop updateScript = ./update.sh;