uwsgi: move defaults to package file

This commit is contained in:
Jan Malakhovski 2019-02-03 15:30:42 +00:00
parent ce75344792
commit f56be70f3f
2 changed files with 4 additions and 8 deletions

View file

@ -1,8 +1,8 @@
{ stdenv, lib, fetchurl, pkgconfig, jansson, pcre
# plugins: list of strings, eg. [ "python2" "python3" ]
, plugins
, pam, withPAM ? false
, systemd, withSystemd ? false
, plugins ? []
, pam, withPAM ? stdenv.isLinux
, systemd, withSystemd ? stdenv.isLinux
, python2, python3, ncurses
, ruby, php-embed, mysql
}:

View file

@ -5916,11 +5916,7 @@ in
usync = callPackage ../applications/misc/usync { };
uwsgi = callPackage ../servers/uwsgi {
plugins = [];
withPAM = stdenv.isLinux;
withSystemd = stdenv.isLinux;
};
uwsgi = callPackage ../servers/uwsgi { };
vacuum = callPackage ../applications/networking/instant-messengers/vacuum {};