5 matrix-synapse-unwrapped,
12 ++ lib.optional (lib.meta.availableOn stdenv.hostPlatform matrix-synapse-unwrapped.python.pkgs.systemd) "systemd",
18 extraPackages = lib.concatMap (extra: matrix-synapse-unwrapped.optional-dependencies.${extra}) (
22 pythonEnv = matrix-synapse-unwrapped.python.buildEnv.override {
23 extraLibs = extraPackages ++ plugins;
26 searchPath = "${pythonEnv}/${matrix-synapse-unwrapped.python.sitePackages}";
29 name = (lib.appendToName "wrapped" matrix-synapse-unwrapped).name;
36 for bin in ${matrix-synapse-unwrapped}/bin/*; do
38 makeWrapper "$bin" "$out/bin/$(basename $bin)" \
39 --set PYTHONPATH ${searchPath}
44 unwrapped = matrix-synapse-unwrapped;
46 # for backward compatibility
47 inherit (matrix-synapse-unwrapped) plugins tests tools;
50 # Carry the maintainer, licenses, and various useful information.
51 inherit (matrix-synapse-unwrapped) meta;