From 9b1bd849402d208e7f0c8a0c0032adca41ab74e4 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Fri, 31 Jan 2014 21:18:24 +0100 Subject: [PATCH] httpd: Respect original order of environment eval. --- nixos/modules/services/web-servers/apache-httpd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/web-servers/apache-httpd/default.nix b/nixos/modules/services/web-servers/apache-httpd/default.nix index d6c539aa78b6..b96f5cf159b0 100644 --- a/nixos/modules/services/web-servers/apache-httpd/default.nix +++ b/nixos/modules/services/web-servers/apache-httpd/default.nix @@ -628,8 +628,8 @@ in ++ concatMap (svc: svc.extraServerPath) allSubservices; environment = - (listToAttrs (concatMap (svc: svc.globalEnvVars) allSubservices)) - // optionalAttrs enablePHP { PHPRC = phpIni; }; + optionalAttrs enablePHP { PHPRC = phpIni; } + // (listToAttrs (concatMap (svc: svc.globalEnvVars) allSubservices)); preStart = ''