From 2b731c9eb7da4ebdf105ffb398397f03804bfedf Mon Sep 17 00:00:00 2001 From: shum Date: Tue, 13 Jan 2026 08:51:59 +0000 Subject: [PATCH] flake.nix: strip only local symbols in MacOS library --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 5dafbac953..259d8b32c1 100644 --- a/flake.nix +++ b/flake.nix @@ -102,7 +102,7 @@ sha256sum $out/_pkg/*.a - find "$out/_pkg" -type f -name "*simplex-chat*.a" -exec ${pkgs.stdenv.cc.targetPrefix}strip {} + + find "$out/_pkg" -type f -name "*simplex-chat*.a" -exec ${pkgs.stdenv.cc.targetPrefix}strip -x {} + (cd $out/_pkg; ${pkgs.zip}/bin/zip -r -9 $out/${bundleName}.zip *) rm -fR $out/_pkg