Merge pull request #33466 from erosennin/master

qca2 and qca-qt5: use system CA certificates
This commit is contained in:
Thomas Tuegel 2018-01-20 11:50:32 -06:00 committed by GitHub
commit 67841d4115
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View file

@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl qtbase ];
nativeBuildInputs = [ cmake pkgconfig ];
# tells CMake to use this CA bundle file if it is accessible
preConfigure = ''export QC_CERTSTORE_PATH=/etc/ssl/certs/ca-certificates.crt'';
# tricks CMake into using this CA bundle file if it is not accessible (in a sandbox)
cmakeFlags = [ "-Dqca_CERTSTORE=/etc/ssl/certs/ca-certificates.crt" ];
meta = with stdenv.lib; {
description = "Qt 5 Cryptographic Architecture";
homepage = http://delta.affinix.com/qca;

View file

@ -14,6 +14,12 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
# tells CMake to use this CA bundle file if it is accessible
preConfigure = ''export QC_CERTSTORE_PATH=/etc/ssl/certs/ca-certificates.crt'';
# tricks CMake into using this CA bundle file if it is not accessible (in a sandbox)
cmakeFlags = [ "-Dqca_CERTSTORE=/etc/ssl/certs/ca-certificates.crt" ];
meta = with stdenv.lib; {
description = "Qt Cryptographic Architecture";
license = "LGPL";