diff options
author | Marius Bakke <marius@gnu.org> | 2020-07-24 23:53:17 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2020-07-24 23:53:17 +0200 |
commit | cbe96f14700f4805552c47d5f163a75c35f86575 (patch) | |
tree | d7791d29b283507bb8953a292d764b24774c955c /guix/git-download.scm | |
parent | 337333c2567bdf767fdc8e04520c4bc0c8b33784 (diff) | |
parent | 7a9a27a051a04a7fee2e7fe40127fedbe9112cfd (diff) |
Merge branch 'master' into staging
Diffstat (limited to 'guix/git-download.scm')
-rw-r--r-- | guix/git-download.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/git-download.scm b/guix/git-download.scm index a1c1adf760..71ea1031c5 100644 --- a/guix/git-download.scm +++ b/guix/git-download.scm @@ -140,9 +140,11 @@ HASH-ALGO (a symbol). Use NAME as the file name, or a generic name if #f." (download-nar #$output) ;; As a last resort, attempt to download from Software Heritage. + ;; Disable X.509 certificate verification to avoid depending + ;; on nss-certs--we're authenticating the checkout anyway. ;; XXX: Currently recursive checkouts are not supported. (and (not recursive?) - (begin + (parameterize ((%verify-swh-certificate? #f)) (format (current-error-port) "Trying to download from Software Heritage...~%") (swh-download (getenv "git url") (getenv "git commit") |