diff options
-rw-r--r-- | customized/uwsgi-nixos.ini | 5 | ||||
-rw-r--r-- | customized/uwsgi.nix | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/customized/uwsgi-nixos.ini b/customized/uwsgi-nixos.ini new file mode 100644 index 00000000..454eb518 --- /dev/null +++ b/customized/uwsgi-nixos.ini | |||
@@ -0,0 +1,5 @@ | |||
1 | [uwsgi] | ||
2 | plugin_dir = @pluginDir@ | ||
3 | main_plugin = @basePlugins@ | ||
4 | json = true | ||
5 | inherit = base | ||
diff --git a/customized/uwsgi.nix b/customized/uwsgi.nix index 32217ed8..cb405959 100644 --- a/customized/uwsgi.nix +++ b/customized/uwsgi.nix | |||
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec { | |||
53 | 53 | ||
54 | configurePhase = '' | 54 | configurePhase = '' |
55 | export pluginDir=$out/lib/uwsgi | 55 | export pluginDir=$out/lib/uwsgi |
56 | substituteAll ${./nixos.ini} buildconf/nixos.ini | 56 | substituteAll ${./uwsgi-nixos.ini} buildconf/nixos.ini |
57 | ''; | 57 | ''; |
58 | 58 | ||
59 | buildPhase = '' | 59 | buildPhase = '' |