p11-kit: add trust paths

Fixes  #82422
This commit is contained in:
worldofpeace 2020-04-25 12:27:34 -04:00
parent 7fb1ff9003
commit 4c40b43a7c

View File

@ -26,14 +26,16 @@ stdenv.mkDerivation rec {
configureFlags = [ configureFlags = [
"--sysconfdir=/etc" "--sysconfdir=/etc"
"--localstatedir=/var" "--localstatedir=/var"
"--without-trust-paths" "--with-trust-paths=/etc/ssl/certs/ca-certificates.crt"
]; # TODO: store trust anchors in a directory common to Nix and NixOS ];
enableParallelBuilding = true; enableParallelBuilding = true;
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;
installFlags = [ "exampledir=\${out}/etc/pkcs11" ]; installFlags = [
"exampledir=${placeholder "out"}/etc/pkcs11"
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Library for loading and sharing PKCS#11 modules"; description = "Library for loading and sharing PKCS#11 modules";