fetchsvn: add system certificate authorities bundle

Resolves #356541
This commit is contained in:
Andrew Kvalheim 2024-11-17 14:35:56 -08:00
parent b0fb9600be
commit 934079c635

View File

@ -1,5 +1,5 @@
{ lib, stdenvNoCC, buildPackages
, subversion, glibcLocales, sshSupport ? true, openssh ? null
, cacert, subversion, glibcLocales, sshSupport ? true, openssh ? null
}:
{ url, rev ? "HEAD", sha256 ? "", hash ? ""
@ -38,7 +38,7 @@ else
stdenvNoCC.mkDerivation {
name = name_;
builder = ./builder.sh;
nativeBuildInputs = [ subversion glibcLocales ]
nativeBuildInputs = [ cacert subversion glibcLocales ]
++ lib.optional sshSupport openssh;
SVN_SSH = if sshSupport then "${buildPackages.openssh}/bin/ssh" else null;