freeradius: add option to compile with postgres

This commit is contained in:
Gary Guo 2023-11-06 00:54:23 +00:00
parent 1925c603f1
commit 89ffd389ec

View File

@ -12,6 +12,7 @@
, withLdap ? true, openldap , withLdap ? true, openldap
, withMemcached ? false, libmemcached , withMemcached ? false, libmemcached
, withMysql ? false, libmysqlclient , withMysql ? false, libmysqlclient
, withPostgresql ? false, postgresql
, withPcap ? true, libpcap , withPcap ? true, libpcap
, withRedis ? false, hiredis , withRedis ? false, hiredis
, withRest ? false, curl , withRest ? false, curl
@ -41,6 +42,7 @@ stdenv.mkDerivation rec {
++ lib.optional withLdap openldap ++ lib.optional withLdap openldap
++ lib.optional withMemcached libmemcached ++ lib.optional withMemcached libmemcached
++ lib.optional withMysql libmysqlclient ++ lib.optional withMysql libmysqlclient
++ lib.optional withPostgresql postgresql
++ lib.optional withPcap libpcap ++ lib.optional withPcap libpcap
++ lib.optional withRedis hiredis ++ lib.optional withRedis hiredis
++ lib.optional withRest curl ++ lib.optional withRest curl