Skip to content

Commit 98b1edc

Browse files
authored
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`
1 parent a443611 commit 98b1edc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/system-nixpkgs-map.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)