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
@@ -195,16 +198,20 @@ let
195198 cmakeFlags = [
196199 "-D client=OFF"
197200 ( lib . cmakeBool "ice" iceSupport )
198- ( lib . cmakeBool "enable-mysql" false )
199- ( lib . cmakeBool "enable-postgresql" false )
201+ ( lib . cmakeBool "enable-mysql" serverMysqlSupport )
202+ ( lib . cmakeBool "enable-postgresql" serverPostgresqlSupport )
200203 ( lib . cmakeBool "enable-sqlite" serverSqliteSupport )
201204 ]
202205 ++ lib . optionals iceSupport [
203206 "-D Ice_HOME=${ lib . getDev zeroc-ice } ;${ lib . getLib zeroc-ice } "
204207 "-D Ice_SLICE_DIR=${ lib . getDev zeroc-ice } /share/ice/slice"
205208 ] ;
206209
207- buildInputs = [ libcap ] ++ lib . optional iceSupport zeroc-ice ;
210+ buildInputs = [
211+ libcap
212+ ]
213+ ++ lib . optional iceSupport zeroc-ice
214+ ++ lib . optional serverPostgresqlSupport postgresql ;
208215 } source ;
209216
210217 overlay =
You can’t perform that action at this time.
0 commit comments