nixos/matrix-synapse: clarify that extras are additive

This commit is contained in:
Maximilian Bosch
2023-07-31 18:54:17 +02:00
parent 5bf466dae9
commit 190886c5cc
2 changed files with 5 additions and 1 deletions
@@ -212,6 +212,10 @@ in {
Extras will automatically be enabled, when the relevant
configuration sections are present.
Please note that this option is additive: i.e. when adding a new item
to this list, the defaults are still kept. To override the defaults as well,
use `lib.mkForce`.
'';
};
+1 -1
View File
@@ -12,7 +12,7 @@
}:
let
extraPackages = lib.concatMap (extra: matrix-synapse-unwrapped.optional-dependencies.${extra}) extras;
extraPackages = lib.concatMap (extra: matrix-synapse-unwrapped.optional-dependencies.${extra}) (lib.unique extras);
pluginsEnv = matrix-synapse-unwrapped.python.buildEnv.override {
extraLibs = plugins;