From 98b1edc73b9a4bc5dd2d9ed6b92c7ad6f1d5cdb8 Mon Sep 17 00:00:00 2001 From: Yvan Sraka Date: Thu, 28 Jul 2022 23:33:37 +0200 Subject: [PATCH] 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` --- lib/system-nixpkgs-map.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/system-nixpkgs-map.nix b/lib/system-nixpkgs-map.nix index 95e8fa2a..c819f2d6 100644 --- a/lib/system-nixpkgs-map.nix +++ b/lib/system-nixpkgs-map.nix @@ -129,6 +129,7 @@ in msvcrt = null; # this is the libc Crypt32 = null; mswsock = null; + bcrypt = null; } # -- os x # NB: these map almost 1:1 to the framework names