mercurial/apache: put PYTHONPATH in globalEnvVars
svn path=/nixos/trunk/; revision=24115
This commit is contained in:
parent
8d60cad42a
commit
f2f048db4d
@ -42,7 +42,6 @@ in {
|
|||||||
AllowOverride All
|
AllowOverride All
|
||||||
Options ExecCGI
|
Options ExecCGI
|
||||||
AddHandler cgi-script .cgi
|
AddHandler cgi-script .cgi
|
||||||
SetEnv PYTHONPATH "${mercurial}/lib/${pkgs.python.libPrefix}/site-packages"
|
|
||||||
PassEnv PYTHONPATH
|
PassEnv PYTHONPATH
|
||||||
</Directory>
|
</Directory>
|
||||||
'';
|
'';
|
||||||
@ -56,6 +55,8 @@ in {
|
|||||||
(pkgs.python+"/bin")
|
(pkgs.python+"/bin")
|
||||||
];
|
];
|
||||||
|
|
||||||
|
globalEnvVars = [ { name = "PYTHONPATH"; value = "${mercurial}/lib/${pkgs.python.libPrefix}/site-packages"; } ];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
urlPrefix = mkOption {
|
urlPrefix = mkOption {
|
||||||
default = "/hg";
|
default = "/hg";
|
||||||
|
Loading…
Reference in New Issue
Block a user