Merge pull request #33466 from erosennin/master

qca2 and qca-qt5: use system CA certificates

authored by Thomas Tuegel and committed by GitHub 67841d41 e842d449

+12
+6
pkgs/development/libraries/qca-qt5/default.nix
··· 11 buildInputs = [ openssl qtbase ]; 12 nativeBuildInputs = [ cmake pkgconfig ]; 13 14 meta = with stdenv.lib; { 15 description = "Qt 5 Cryptographic Architecture"; 16 homepage = http://delta.affinix.com/qca;
··· 11 buildInputs = [ openssl qtbase ]; 12 nativeBuildInputs = [ cmake pkgconfig ]; 13 14 + # tells CMake to use this CA bundle file if it is accessible 15 + preConfigure = ''export QC_CERTSTORE_PATH=/etc/ssl/certs/ca-certificates.crt''; 16 + 17 + # tricks CMake into using this CA bundle file if it is not accessible (in a sandbox) 18 + cmakeFlags = [ "-Dqca_CERTSTORE=/etc/ssl/certs/ca-certificates.crt" ]; 19 + 20 meta = with stdenv.lib; { 21 description = "Qt 5 Cryptographic Architecture"; 22 homepage = http://delta.affinix.com/qca;
+6
pkgs/development/libraries/qca2/default.nix
··· 14 15 enableParallelBuilding = true; 16 17 meta = with stdenv.lib; { 18 description = "Qt Cryptographic Architecture"; 19 license = "LGPL";
··· 14 15 enableParallelBuilding = true; 16 17 + # tells CMake to use this CA bundle file if it is accessible 18 + preConfigure = ''export QC_CERTSTORE_PATH=/etc/ssl/certs/ca-certificates.crt''; 19 + 20 + # tricks CMake into using this CA bundle file if it is not accessible (in a sandbox) 21 + cmakeFlags = [ "-Dqca_CERTSTORE=/etc/ssl/certs/ca-certificates.crt" ]; 22 + 23 meta = with stdenv.lib; { 24 description = "Qt Cryptographic Architecture"; 25 license = "LGPL";