summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-01-13 01:41:06 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2016-01-13 01:41:06 +0100
commit4f6c4310bace64cd0cebccbe9357650d6dd99270 (patch)
tree2b691b92fbe4c8339444e3e7ad6c906417d81bf4
parent728f8beea6f02bae53fb37935b2061a8bf5e444d (diff)
downloadnixos-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.ini5
-rw-r--r--customized/uwsgi.nix2
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]
2plugin_dir = @pluginDir@
3main_plugin = @basePlugins@
4json = true
5inherit = 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 = ''