forked from mirrors/nixpkgs
3cecef15d7
Users have an older git in their user environment and it doesn't work without it. We should keep it around for a while.
26 lines
542 B
Nix
26 lines
542 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
environment.etc =
|
|
[ { source = "${pkgs.cacert}/etc/ca-bundle.crt";
|
|
target = "ssl/certs/ca-bundle.crt";
|
|
}
|
|
];
|
|
|
|
environment.sessionVariables =
|
|
{ SSL_CERT_FILE = "/etc/ssl/certs/ca-bundle.crt";
|
|
# FIXME: unneeded - remove eventually.
|
|
OPENSSL_X509_CERT_FILE = "/etc/ssl/certs/ca-bundle.crt";
|
|
# FIXME: unneeded - remove eventually.
|
|
GIT_SSL_CAINFO = "/etc/ssl/certs/ca-bundle.crt";
|
|
};
|
|
|
|
};
|
|
|
|
}
|