From 89ffd389ecfa692ca2df735c92a3f2e95e3b9010 Mon Sep 17 00:00:00 2001 From: Gary Guo Date: Mon, 6 Nov 2023 00:54:23 +0000 Subject: [PATCH] freeradius: add option to compile with postgres --- pkgs/servers/freeradius/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/freeradius/default.nix b/pkgs/servers/freeradius/default.nix index 5be808d6b483..c84640869021 100644 --- a/pkgs/servers/freeradius/default.nix +++ b/pkgs/servers/freeradius/default.nix @@ -12,6 +12,7 @@ , withLdap ? true, openldap , withMemcached ? false, libmemcached , withMysql ? false, libmysqlclient +, withPostgresql ? false, postgresql , withPcap ? true, libpcap , withRedis ? false, hiredis , withRest ? false, curl @@ -41,6 +42,7 @@ stdenv.mkDerivation rec { ++ lib.optional withLdap openldap ++ lib.optional withMemcached libmemcached ++ lib.optional withMysql libmysqlclient + ++ lib.optional withPostgresql postgresql ++ lib.optional withPcap libpcap ++ lib.optional withRedis hiredis ++ lib.optional withRest curl