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 11 buildInputs = [ openssl qtbase ]; 12 12 nativeBuildInputs = [ cmake pkgconfig ]; 13 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 + 14 20 meta = with stdenv.lib; { 15 21 description = "Qt 5 Cryptographic Architecture"; 16 22 homepage = http://delta.affinix.com/qca;
+6
pkgs/development/libraries/qca2/default.nix
··· 14 14 15 15 enableParallelBuilding = true; 16 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 + 17 23 meta = with stdenv.lib; { 18 24 description = "Qt Cryptographic Architecture"; 19 25 license = "LGPL";