From bb91a4d6c3c1cfaad739304624c95d5d4e751397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 17 May 2019 10:22:22 +0700 Subject: [PATCH] SSL_CERT_FILE -> NIX_SSL_CERT_FILE --- modules/examples/lnl.nix | 2 +- modules/services/hercules-ci-agent/default.nix | 2 +- modules/services/ofborg/default.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix index 12e36137..75fb1480 100644 --- a/modules/examples/lnl.nix +++ b/modules/examples/lnl.nix @@ -67,7 +67,7 @@ launchd.user.agents.fetch-nixpkgs-updates = { command = "/usr/bin/sandbox-exec -f ${config.security.sandbox.profiles.fetch-nixpkgs-updates.profile} ${pkgs.git}/bin/git -C /src/nixpkgs fetch origin master"; environment.HOME = ""; - environment.SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; + environment.NIX_SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; serviceConfig.KeepAlive = false; serviceConfig.ProcessType = "Background"; serviceConfig.StartInterval = 360; diff --git a/modules/services/hercules-ci-agent/default.nix b/modules/services/hercules-ci-agent/default.nix index 9dcdf372..41cee4b1 100644 --- a/modules/services/hercules-ci-agent/default.nix +++ b/modules/services/hercules-ci-agent/default.nix @@ -63,7 +63,7 @@ in { path = [ config.nix.package ]; environment = { - SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; + NIX_SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; }; serviceConfig.KeepAlive = true; diff --git a/modules/services/ofborg/default.nix b/modules/services/ofborg/default.nix index d71992e0..172ea773 100644 --- a/modules/services/ofborg/default.nix +++ b/modules/services/ofborg/default.nix @@ -69,7 +69,7 @@ in path = [ config.nix.package pkgs.bash pkgs.coreutils pkgs.curl pkgs.git ]; environment = { RUST_BACKTRACE = "1"; - SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; + NIX_SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; }; serviceConfig.KeepAlive = true;