flake.nix: strip only local symbols in MacOS library

This commit is contained in:
shum
2026-01-13 08:51:59 +00:00
parent 67d72034a6
commit 2b731c9eb7

View File

@@ -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