summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/ymir.nix b/ymir.nix
index 7b447e99..aade8d8e 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -47,8 +47,9 @@ in rec {
47 extraLibs = [luaPam luaPosix luaSha2]; 47 extraLibs = [luaPam luaPosix luaSha2];
48 }); 48 });
49 uwsgi = pkgs.callPackage ./customized/uwsgi.nix { 49 uwsgi = pkgs.callPackage ./customized/uwsgi.nix {
50 extraPlugins = [ 50 extraPlugins = {
51 { name = "cgi"; 51 cgi = {
52 name = "cgi";
52 interpreter = pkgs.python3; 53 interpreter = pkgs.python3;
53 path = "plugins/cgi"; 54 path = "plugins/cgi";
54 deps = [ pkgs.python3 ]; 55 deps = [ pkgs.python3 ];
@@ -56,8 +57,8 @@ in rec {
56 ${pkgs.python3.executable} -m compileall $out/${pkgs.python3.sitePackages}/ 57 ${pkgs.python3.executable} -m compileall $out/${pkgs.python3.sitePackages}/
57 ${pkgs.python3.executable} -O -m compileall $out/${pkgs.python3.sitePackages}/ 58 ${pkgs.python3.executable} -O -m compileall $out/${pkgs.python3.sitePackages}/
58 ''; 59 '';
59 } 60 };
60 ]; 61 };
61 plugins = []; 62 plugins = [];
62 }; 63 };
63 cgit = pkgs.stdenv.lib.overrideDerivation pkgs.cgit (oldAttrs : { 64 cgit = pkgs.stdenv.lib.overrideDerivation pkgs.cgit (oldAttrs : {