summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-10-28 14:07:29 +0200
committermakefu <github@syntax-fehler.de>2016-10-28 14:07:29 +0200
commit121c5cb92cba3594cbe4743ff80e46b6e85aeb4d (patch)
tree7a17f4edd21929ecc311ea57450af9ac2ad48ae8
parentebd5e96517a001376d927ac147e0cadb0bde1c14 (diff)
m 2 default: use ca-bundle for CURL GIT, PIP
-rw-r--r--makefu/2configs/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/makefu/2configs/default.nix b/makefu/2configs/default.nix
index cb6fe55b8..bbe108074 100644
--- a/makefu/2configs/default.nix
+++ b/makefu/2configs/default.nix
@@ -90,9 +90,14 @@ with import <stockholm/lib>;
"d /tmp 1777 root root - -"
];
nix.nixPath = [ "/var/src" ];
- environment.variables = {
+ environment.variables = let
+ ca-bundle = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
+ in {
NIX_PATH = mkForce "/var/src";
EDITOR = mkForce "vim";
+ CURL_CA_BUNDLE = ca-bundle;
+ GIT_SSL_CAINFO = ca-bundle;
+ SSL_CERT_FILE = ca-bundle;
};
environment.systemPackages = with pkgs; [