mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-11 06:55:40 +03:00
Add secp256k1 DLL for win cross compilation of TH (#1400)
This commit is contained in:
parent
308c937bfc
commit
eb49a3b721
@ -73,7 +73,7 @@ final: prev:
|
||||
# dependencies) and then placing them somewhere where wine+remote-iserv
|
||||
# will find them.
|
||||
remote-iserv.postInstall = pkgs.lib.optionalString pkgs.stdenv.hostPlatform.isWindows (
|
||||
let extra-libs = [ pkgs.openssl.bin pkgs.libffi pkgs.gmp (pkgs.libsodium-vrf or pkgs.libsodium) pkgs.windows.mcfgthreads pkgs.buildPackages.gcc.cc ]; in ''
|
||||
let extra-libs = [ pkgs.openssl.bin pkgs.libffi pkgs.gmp (pkgs.libsodium-vrf or pkgs.libsodium) pkgs.windows.mcfgthreads pkgs.buildPackages.gcc.cc pkgs.secp256k1 ]; in ''
|
||||
for p in ${lib.concatStringsSep " "extra-libs}; do
|
||||
find "$p" -iname '*.dll' -exec cp {} $out/bin/ \;
|
||||
find "$p" -iname '*.dll.a' -exec cp {} $out/bin/ \;
|
||||
|
Loading…
Reference in New Issue
Block a user