mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
openssl_3_3: hotfix for cmake builds (#343991)
This commit is contained in:
commit
b2de93cfe4
@ -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