mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
openssl_3_3: hotfix for cmake builds
Signed-off-by: Markus Theil <theil.markus@gmail.com>
(cherry picked from commit fd1745b860
)
This commit is contained in:
parent
9a6f63ebed
commit
72cc50b662
@ -222,8 +222,12 @@ let
|
||||
rm -r $etc/etc/ssl/misc
|
||||
|
||||
rmdir $etc/etc/ssl/{certs,private}
|
||||
|
||||
${lib.optionalString (conf != null) "cat ${conf} > $etc/etc/ssl/openssl.cnf"}
|
||||
'' + lib.optionalString (conf != null) ''
|
||||
cat ${conf} > $etc/etc/ssl/openssl.cnf
|
||||
'' + lib.optionalString (lib.versionAtLeast version "3.3.0") ''
|
||||
# cleanup cmake helpers for now (for OpenSSL >= 3.3), only rely on pkg-config.
|
||||
# pkg-config gets its paths fixed correctly
|
||||
rm -rf $dev/lib/cmake
|
||||
'';
|
||||
|
||||
postFixup = lib.optionalString (!stdenv.hostPlatform.isWindows) ''
|
||||
|
Loading…
Reference in New Issue
Block a user