@@ -52,6 +52,8 @@ stdenv.mkDerivation rec {
|
|||||||
cp -v ca-bundle.crt $out/etc/ssl/certs
|
cp -v ca-bundle.crt $out/etc/ssl/certs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://curl.haxx.se/docs/caextract.html;
|
homepage = https://curl.haxx.se/docs/caextract.html;
|
||||||
description = "A bundle of X.509 certificates of public Certificate Authorities (CA)";
|
description = "A bundle of X.509 certificates of public Certificate Authorities (CA)";
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
cacertHook() {
|
||||||
|
export SSL_CERT_FILE=@out@/etc/ssl/certs/ca-bundle.crt
|
||||||
|
}
|
||||||
|
|
||||||
|
envHooks+=(cacertHook)
|
||||||
|
crossEnvHooks+=(cacertHook)
|
||||||
Reference in New Issue
Block a user