guix-devel/guix/scripts
Ludovic Courtès 20f8d73fac
pull: Use /etc/ssl/certs by default if it exists and is non-empty.
Previously, on machines where /etc/ssl/certs did exist, we'd have this:

  $ unset SSL_CERT_DIR
  $ unset SSL_CERT_FILE
  $ guix pull
  Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
  guix pull: error: Git error: the SSL certificate is invalid

This is because we'd let OpenSSL look for certificates in its default
location, which is an empty directory in its own prefix.

* guix/scripts/pull.scm (honor-x509-certificates): New procedure.
(guix-pull): Use it instead of calling 'honor-lets-encrypt-certificates!'.
2018-09-18 23:23:44 +02:00
..
container
import
system
archive.scm
authenticate.scm
build.scm
challenge.scm
container.scm
copy.scm
describe.scm
download.scm
edit.scm
environment.scm
gc.scm
graph.scm
hash.scm
import.scm
lint.scm
offload.scm
pack.scm
package.scm
perform-download.scm
publish.scm
pull.scm
refresh.scm
repl.scm
size.scm
substitute.scm
system.scm
weather.scm