pkgs/servers: stdenv.lib -> lib
This commit is contained in:
@@ -48,37 +48,37 @@ stdenv.mkDerivation rec {
|
||||
"--with-scheduler-ram"
|
||||
"--with-scheduler-stub"
|
||||
|
||||
] ++ stdenv.lib.optionals enablePython [
|
||||
] ++ lib.optionals enablePython [
|
||||
"--with-python=${python2}"
|
||||
"--with-filter-python"
|
||||
"--with-queue-python"
|
||||
"--with-table-python"
|
||||
"--with-scheduler-python"
|
||||
|
||||
] ++ stdenv.lib.optionals enableLua [
|
||||
] ++ lib.optionals enableLua [
|
||||
"--with-lua=${pkgconfig}"
|
||||
"--with-filter-lua"
|
||||
|
||||
] ++ stdenv.lib.optionals enablePerl [
|
||||
] ++ lib.optionals enablePerl [
|
||||
"--with-perl=${perl}"
|
||||
"--with-filter-perl"
|
||||
|
||||
] ++ stdenv.lib.optionals enableMysql [
|
||||
] ++ lib.optionals enableMysql [
|
||||
"--with-table-mysql"
|
||||
|
||||
] ++ stdenv.lib.optionals enablePostgres [
|
||||
] ++ lib.optionals enablePostgres [
|
||||
"--with-table-postgres"
|
||||
|
||||
] ++ stdenv.lib.optionals enableSqlite [
|
||||
] ++ lib.optionals enableSqlite [
|
||||
"--with-table-sqlite"
|
||||
|
||||
] ++ stdenv.lib.optionals enableRedis [
|
||||
] ++ lib.optionals enableRedis [
|
||||
"--with-table-redis"
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString enableRedis
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString enableRedis
|
||||
"-I${hiredis}/include/hiredis -lhiredis"
|
||||
+ stdenv.lib.optionalString enableMysql
|
||||
+ lib.optionalString enableMysql
|
||||
" -L${libmysqlclient}/lib/mysql";
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user