From 9d009663baa2faee7c4cd1a37b715a1af0f29c45 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Mon, 5 Sep 2022 15:40:40 +0100 Subject: [PATCH] update flake.nix to export libs from androidPkgs.openssl --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index 819c1db22c..a8968dbbcb 100644 --- a/flake.nix +++ b/flake.nix @@ -116,6 +116,8 @@ # 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} + find ${androidPkgs.openssl}/lib -name "*.so" -exec cp {} $out/_pkg \; ${pkgs.patchelf}/bin/patchelf --remove-needed libunwind.so.1 $out/_pkg/libsimplex.so