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
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user