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>
This commit is contained in:
Julien Lepiller 2024-11-21 21:24:33 +01:00 committed by Eric Bavier
parent eabdad1ad5
commit fbf6de1efe
No known key found for this signature in database
GPG key ID: BC45CA67E2F8D007

View file

@ -46,7 +46,8 @@ (define* (svn-fetch url revision directory
;; 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