···1111 buildInputs = [ openssl qtbase ];
1212 nativeBuildInputs = [ cmake pkgconfig ];
13131414+ # tells CMake to use this CA bundle file if it is accessible
1515+ preConfigure = ''export QC_CERTSTORE_PATH=/etc/ssl/certs/ca-certificates.crt'';
1616+1717+ # tricks CMake into using this CA bundle file if it is not accessible (in a sandbox)
1818+ cmakeFlags = [ "-Dqca_CERTSTORE=/etc/ssl/certs/ca-certificates.crt" ];
1919+1420 meta = with stdenv.lib; {
1521 description = "Qt 5 Cryptographic Architecture";
1622 homepage = http://delta.affinix.com/qca;
+6
pkgs/development/libraries/qca2/default.nix
···14141515 enableParallelBuilding = true;
16161717+ # tells CMake to use this CA bundle file if it is accessible
1818+ preConfigure = ''export QC_CERTSTORE_PATH=/etc/ssl/certs/ca-certificates.crt'';
1919+2020+ # tricks CMake into using this CA bundle file if it is not accessible (in a sandbox)
2121+ cmakeFlags = [ "-Dqca_CERTSTORE=/etc/ssl/certs/ca-certificates.crt" ];
2222+1723 meta = with stdenv.lib; {
1824 description = "Qt Cryptographic Architecture";
1925 license = "LGPL";