on iko/ghcjs-patch-master help sign in
Add mapping to Cabal `extra-libraries: bcrypt` (#1561)

https://docs.microsoft.com/en-us/windows/win32/api/bcrypt/ N.B. The `BCryptGenRandom` symbol is provided by MinGW `bcrypt.h` and needed by https://github.com/yvan-sraka/greetings (and I guess any project relying on Rust `std`) when cross-compiling to `x86_64-w64-mingw32`

commit98b1edc73b9a4bc5dd2d9ed6b92c7ad6f1d5cdb8 authorYvan Sraka <yvan.sraka@iohk.io> dateThu 28 Jul 2022, 23:33 (4 years ago) parenta443611
1 file changed+1
lib/system-nixpkgs-map.nix+1
lib/system-nixpkgs-map.nix+1
@@ -129,6 +129,7 @@ in
129129 msvcrt = null; # this is the libc
130130 Crypt32 = null;
131131 mswsock = null;
132+ bcrypt = null;
132133 }
133134# -- os x
134135# NB: these map almost 1:1 to the framework names