aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2024-11-21 21:24:33 +0100
committerEric Bavier <bavier@posteo.net>2024-11-22 16:21:37 -0600
commitfbf6de1efed8de31e6a985fd268dfd195acf65ed (patch)
treee074d2a9d746b9397e1cfc726c31384acab05887
parenteabdad1ad5144487a1606fb35afa11c1bb6dc720 (diff)
downloadguix-fbf6de1efed8de31e6a985fd268dfd195acf65ed.tar.gz
guix-fbf6de1efed8de31e6a985fd268dfd195acf65ed.zip
guix: svn: Trust server certificate in any case.
* guix/build/svn.scm (svn-fetch): Replace deprecated trast-server-cert option. Change-Id: I1b0c55b8ef0e5adf46b90a242b329a12a2574b27 Signed-off-by: Eric Bavier <bavier@posteo.net>
-rw-r--r--guix/build/svn.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/build/svn.scm b/guix/build/svn.scm
index 875d3c50ca..ea01e7ee65 100644
--- a/guix/build/svn.scm
+++ b/guix/build/svn.scm
@@ -46,7 +46,8 @@ valid Subversion revision. Return #t on success, #f otherwise."
;; Trust the server certificate. This is OK as we
;; verify the checksum later. This can be removed when
;; ca-certificates package is added.
- "--trust-server-cert" "-r" (number->string revision)
+ "--trust-server-cert-failures=unknown-ca,cn-mismatch,expired,not-yet-valid,other"
+ "-r" (number->string revision)
;; Disable keyword substitutions (keywords are CVS-like strings
;; like "$Date$", "$Id$", and so on) for two reasons: (1) some