mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Merge pull request #144338 from jbellerb/libressl
This commit is contained in:
commit
27a78cf2ee
1 changed files with 5 additions and 2 deletions
|
@ -49,8 +49,11 @@ let
|
|||
|
||||
# Since 2.9.x the default location can't be configured from the build using
|
||||
# DEFAULT_CA_FILE anymore, instead we have to patch the default value.
|
||||
postPatch = lib.optionalString (lib.versionAtLeast version "2.9.2") ''
|
||||
substituteInPlace ./tls/tls_config.c --replace '"/etc/ssl/cert.pem"' '"${cacert}/etc/ssl/certs/ca-bundle.crt"'
|
||||
postPatch = ''
|
||||
patchShebangs tests/
|
||||
${lib.optionalString (lib.versionAtLeast version "2.9.2") ''
|
||||
substituteInPlace ./tls/tls_config.c --replace '"/etc/ssl/cert.pem"' '"${cacert}/etc/ssl/certs/ca-bundle.crt"'
|
||||
''}
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue