From 773979c00eac12535acd2110d6ecbc7b3c14f113 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 19 Jun 2017 22:51:06 +0200 Subject: uwsgi module handles env --- ymir.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ymir.nix b/ymir.nix index a2aadef9..3979dc70 100644 --- a/ymir.nix +++ b/ymir.nix @@ -303,7 +303,9 @@ in rec { threads = 8; chdir = "${pkgs.cgit}/cgit"; cgi = "${pkgs.cgit}/cgit/cgit.cgi"; - env = "CGIT_CONFIG=/etc/cgit/git.yggdrasil.li"; + env = { + "CGIT_CONFIG" = "/etc/cgit/git.yggdrasil.li"; + }; socket = "/tmp/git.yggdrasil.li.sock"; chmod-socket = "660"; chown-socket = "uwsgi:nginx"; @@ -314,7 +316,9 @@ in rec { threads = 8; chdir = "${pkgs.cgit}/cgit"; cgi = "${pkgs.cgit}/cgit/cgit.cgi"; - env = "CGIT_CONFIG=/etc/cgit/git.rheperire.org"; + env = { + "CGIT_CONFIG" = "/etc/cgit/git.rheperire.org"; + }; socket = "/tmp/git.rheperire.org.sock"; chmod-socket = "660"; chown-socket = "uwsgi:nginx"; -- cgit v1.2.3