nixos/matrix-synapse: clarify that extras
are additive
This commit is contained in:
parent
5bf466dae9
commit
190886c5cc
|
@ -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`.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue