mercurial/apache: put PYTHONPATH in globalEnvVars

svn path=/nixos/trunk/; revision=24115
This commit is contained in:
Rob Vermaas 2010-10-06 12:38:37 +00:00
parent 8d60cad42a
commit f2f048db4d

View File

@ -42,7 +42,6 @@ in {
AllowOverride All
Options ExecCGI
AddHandler cgi-script .cgi
SetEnv PYTHONPATH "${mercurial}/lib/${pkgs.python.libPrefix}/site-packages"
PassEnv PYTHONPATH
</Directory>
'';
@ -56,6 +55,8 @@ in {
(pkgs.python+"/bin")
];
globalEnvVars = [ { name = "PYTHONPATH"; value = "${mercurial}/lib/${pkgs.python.libPrefix}/site-packages"; } ];
options = {
urlPrefix = mkOption {
default = "/hg";