Skip to content

Commit cea0079

Browse files
committed
Add mapping to Cabal extra-libraries: bcrypt
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`
1 parent a443611 commit cea0079

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/system-nixpkgs-map.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ let
1818
] else [];
1919
in
2020
# -- linux
21-
{ crypto = [ openssl ];
21+
{
22+
bcrypt = [ ];
23+
crypto = [ openssl ];
2224
"c++" = []; # no libc++
2325
"stdc++" = gcclibs;
2426
"stdc++-6" = gcclibs;

0 commit comments

Comments
 (0)