diff options
| -rw-r--r-- | ymir.nix | 30 | 
1 files changed, 15 insertions, 15 deletions
| @@ -69,21 +69,21 @@ in rec { | |||
| 69 | extraModules = [prosodyAuth]; | 69 | extraModules = [prosodyAuth]; | 
| 70 | extraLibs = [luaPam luaPosix luaSha2]; | 70 | extraLibs = [luaPam luaPosix luaSha2]; | 
| 71 | }); | 71 | }); | 
| 72 | uwsgi = pkgs.callPackage ./customized/uwsgi.nix { | 72 | # uwsgi = pkgs.callPackage ./customized/uwsgi.nix { | 
| 73 | extraPlugins = { | 73 | # extraPlugins = { | 
| 74 | cgi = { | 74 | # cgi = { | 
| 75 | name = "cgi"; | 75 | # name = "cgi"; | 
| 76 | interpreter = pkgs.python3.interpreter; | 76 | # interpreter = pkgs.python3.interpreter; | 
| 77 | path = "plugins/cgi"; | 77 | # path = "plugins/cgi"; | 
| 78 | inputs = [ pkgs.python3 ]; | 78 | # inputs = [ pkgs.python3 ]; | 
| 79 | install = '' | 79 | # install = '' | 
| 80 | ${pkgs.python3.executable} -m compileall $out/${pkgs.python3.sitePackages}/ | 80 | # ${pkgs.python3.executable} -m compileall $out/${pkgs.python3.sitePackages}/ | 
| 81 | ${pkgs.python3.executable} -O -m compileall $out/${pkgs.python3.sitePackages}/ | 81 | # ${pkgs.python3.executable} -O -m compileall $out/${pkgs.python3.sitePackages}/ | 
| 82 | ''; | 82 | # ''; | 
| 83 | }; | 83 | # }; | 
| 84 | }; | 84 | # }; | 
| 85 | plugins = []; | 85 | # plugins = []; | 
| 86 | }; | 86 | # }; | 
| 87 | cgit = pkgs.stdenv.lib.overrideDerivation pkgs.cgit (oldAttrs : { | 87 | cgit = pkgs.stdenv.lib.overrideDerivation pkgs.cgit (oldAttrs : { | 
| 88 | buildInputs = oldAttrs.buildInputs ++ [ | 88 | buildInputs = oldAttrs.buildInputs ++ [ | 
| 89 | pkgs.perl | 89 | pkgs.perl | 
