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 ,
4142 spdlog ,
4243 utfcpp ,
44+ serverMysqlSupport ? false ,
45+ serverPostgresqlSupport ? true ,
4346 serverSqliteSupport ? true ,
4447} :
4548
@@ -202,16 +205,20 @@ let
202205 cmakeFlags = [
203206 "-D client=OFF"
204207 ( lib . cmakeBool "ice" iceSupport )
205- ( lib . cmakeBool "enable-mysql" false )
206- ( lib . cmakeBool "enable-postgresql" false )
208+ ( lib . cmakeBool "enable-mysql" serverMysqlSupport )
209+ ( lib . cmakeBool "enable-postgresql" serverPostgresqlSupport )
207210 ( lib . cmakeBool "enable-sqlite" serverSqliteSupport )
208211 ]
209212 ++ lib . optionals iceSupport [
210213 "-D Ice_HOME=${ lib . getDev zeroc-ice } ;${ lib . getLib zeroc-ice } "
211214 "-D Ice_SLICE_DIR=${ lib . getDev zeroc-ice } /share/ice/slice"
212215 ] ;
213216
214- buildInputs = [ libcap ] ++ lib . optional iceSupport zeroc-ice ;
217+ buildInputs = [
218+ libcap
219+ ]
220+ ++ lib . optional iceSupport zeroc-ice
221+ ++ lib . optional serverPostgresqlSupport postgresql ;
215222 } source ;
216223
217224 overlay =
You can’t perform that action at this time.
0 commit comments