diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-13 01:41:06 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-13 01:41:06 +0100 |
commit | 4f6c4310bace64cd0cebccbe9357650d6dd99270 (patch) | |
tree | 2b691b92fbe4c8339444e3e7ad6c906417d81bf4 | |
parent | 728f8beea6f02bae53fb37935b2061a8bf5e444d (diff) | |
download | nixos-4f6c4310bace64cd0cebccbe9357650d6dd99270.tar nixos-4f6c4310bace64cd0cebccbe9357650d6dd99270.tar.gz nixos-4f6c4310bace64cd0cebccbe9357650d6dd99270.tar.bz2 nixos-4f6c4310bace64cd0cebccbe9357650d6dd99270.tar.xz nixos-4f6c4310bace64cd0cebccbe9357650d6dd99270.zip |
nixos.ini
-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 = '' |