From 4d4d1da6582dd64034087668eacc12c02f174173 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Sat, 18 Apr 2020 16:42:22 +0200 Subject: [PATCH] Fix SSL_CERTS --- system/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/system/default.nix b/system/default.nix index df99ab6b..b2915717 100644 --- a/system/default.nix +++ b/system/default.nix @@ -33,8 +33,9 @@ in { (lib.filterAttrs (name: value: name != "__functor") sources) // { "nix-path/nixos".source = sources.nixpkgs; }; - variables = genAttrs [ "CURL_CA_BUNDLE" "GIT_SSL_CAINFO" "SSL_CERT_FILE" ] - (const "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"); + variables = + lib.genAttrs [ "CURL_CA_BUNDLE" "GIT_SSL_CAINFO" "SSL_CERT_FILE" ] + (_: "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"); }; nix = {