]> git.donarmstrong.com Git - lib.git/commitdiff
add /etc/ssl/ca-global/ca-certificates.crt for Debian hosts
authorDon Armstrong <don@donarmstrong.com>
Sat, 24 Feb 2018 01:20:15 +0000 (17:20 -0800)
committerDon Armstrong <don@donarmstrong.com>
Sat, 24 Feb 2018 01:20:15 +0000 (17:20 -0800)
emacs_el/configuration/don-configuration.org

index c2053dc3f4c2b7e297534d95d3b5650153d4127f..7f0ea1d18d7cab26fec3a2ca965844abbc2a16cc 100644 (file)
@@ -29,6 +29,10 @@ Borrowed from https://github.com/nilcons/emacs-use-package-fast/ to
 load  [[https://github.com/jwiegley/use-package/][use-package]] even faster
 #+BEGIN_SRC emacs-lisp
   (eval-and-compile
+    ;; add /etc/ssl/ca-global/ca-certificates.crt so that we can
+    ;; download packages when we're on Debian hosts which chop down the
+    ;; list of available certificates
+    (add-to-list 'gnutls-trustfiles "/etc/ssl/ca-global/ca-certificates.crt")
     (setq package-enable-at-startup nil)
     (setq package--init-file-ensured t)
     (setq package-user-dir "~/var/emacs/elpa")