doc: Document certificate environment variable needed for R.

* doc/guix.texi (X.509 Certificates): Document R as a special case.
This commit is contained in:
Ricardo Wurmus 2017-05-14 23:37:14 +02:00
parent 9b22c4dd5e
commit 6365733555
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 13 additions and 0 deletions

View File

@ -14932,6 +14932,19 @@ $ export SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt"
$ export GIT_SSL_CAINFO="$SSL_CERT_FILE" $ export GIT_SSL_CAINFO="$SSL_CERT_FILE"
@end example @end example
As another example, R requires the @code{CURL_CA_BUNDLE} environment
variable to point to a certificate bundle, so you would have to run
something like this:
@example
$ guix package -i nss-certs
$ export CURL_CA_BUNDLE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt"
@end example
For other applications you may want to look up the required environment
variable in the relevant documentation.
@node Name Service Switch @node Name Service Switch
@subsection Name Service Switch @subsection Name Service Switch