nixos/matrix-synapse: clarify that `extras` are additive

+5 -1
+4
nixos/modules/services/matrix/synapse.nix
··· 212 212 213 213 Extras will automatically be enabled, when the relevant 214 214 configuration sections are present. 215 + 216 + Please note that this option is additive: i.e. when adding a new item 217 + to this list, the defaults are still kept. To override the defaults as well, 218 + use `lib.mkForce`. 215 219 ''; 216 220 }; 217 221
+1 -1
pkgs/servers/matrix-synapse/wrapper.nix
··· 12 12 }: 13 13 14 14 let 15 - extraPackages = lib.concatMap (extra: matrix-synapse-unwrapped.optional-dependencies.${extra}) extras; 15 + extraPackages = lib.concatMap (extra: matrix-synapse-unwrapped.optional-dependencies.${extra}) (lib.unique extras); 16 16 17 17 pluginsEnv = matrix-synapse-unwrapped.python.buildEnv.override { 18 18 extraLibs = plugins;