File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
pkgs/applications/networking/mumble Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 3838 nlohmann_json ,
3939 xar ,
4040 makeBinaryWrapper ,
41+ postgresql ,
42+ serverMysqlSupport ? false ,
43+ serverPostgresqlSupport ? true ,
4144 serverSqliteSupport ? true ,
4245} :
4346
@@ -196,16 +199,20 @@ let
196199 cmakeFlags = [
197200 "-D client=OFF"
198201 ( lib . cmakeBool "ice" iceSupport )
199- ( lib . cmakeBool "enable-mysql" false )
200- ( lib . cmakeBool "enable-postgresql" false )
202+ ( lib . cmakeBool "enable-mysql" serverMysqlSupport )
203+ ( lib . cmakeBool "enable-postgresql" serverPostgresqlSupport )
201204 ( lib . cmakeBool "enable-sqlite" serverSqliteSupport )
202205 ]
203206 ++ lib . optionals iceSupport [
204207 "-D Ice_HOME=${ lib . getDev zeroc-ice } ;${ lib . getLib zeroc-ice } "
205208 "-D Ice_SLICE_DIR=${ lib . getDev zeroc-ice } /share/ice/slice"
206209 ] ;
207210
208- buildInputs = [ libcap ] ++ lib . optional iceSupport zeroc-ice ;
211+ buildInputs = [
212+ libcap
213+ ]
214+ ++ lib . optional iceSupport zeroc-ice
215+ ++ lib . optional serverPostgresqlSupport postgresql ;
209216 } source ;
210217
211218 overlay =
You can’t perform that action at this time.
0 commit comments