2010-01-20 14:22:47 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
with pkgs.lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
config = {
|
|
|
|
|
|
|
|
environment.etc = singleton
|
|
|
|
{ source = "${pkgs.cacert}/etc/ca-bundle.crt";
|
|
|
|
target = "ca-bundle.crt";
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.shellInit =
|
|
|
|
''
|
|
|
|
export CURL_CA_BUNDLE=/etc/ca-bundle.crt
|
2011-07-12 13:45:48 +01:00
|
|
|
export GIT_SSL_CAINFO=/etc/ca-bundle.crt
|
2010-01-20 14:22:47 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|