update flake.nix to export openssl libs

This commit is contained in:
Evgeny Poberezkin 2022-09-07 10:24:42 +01:00
parent de2d169fbc
commit 00471a095d

View file

@ -116,9 +116,7 @@
# find ${androidPkgs.gmp6.override { withStatic = true; }}/lib -name "*.a" -exec cp {} $out/_pkg \;
# find ${androidIconv}/lib -name "*.a" -exec cp {} $out/_pkg \;
# find ${androidPkgs.stdenv.cc.libc}/lib -name "*.a" -exec cp {} $out/_pkg \;
echo ${androidPkgs.openssl}
ls -l ${androidPkgs.openssl}
find ${androidPkgs.openssl} -name "*.so" -exec cp {} $out/_pkg \;
find ${androidPkgs.openssl.out}/lib -name "*.so" -exec cp {} $out/_pkg \;
${pkgs.patchelf}/bin/patchelf --remove-needed libunwind.so.1 $out/_pkg/libsimplex.so