From 00471a095dc425d288b30624805a0d0b7684277a Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Wed, 7 Sep 2022 10:24:42 +0100 Subject: [PATCH] update flake.nix to export openssl libs --- flake.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 28d9e4d9b4..f47f53636f 100644 --- a/flake.nix +++ b/flake.nix @@ -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