4 , matrix-synapse-unwrapped
9 ] ++ lib.optional (lib.meta.availableOn stdenv.hostPlatform matrix-synapse-unwrapped.python.pkgs.systemd) "systemd"
15 extraPackages = lib.concatMap (extra: matrix-synapse-unwrapped.optional-dependencies.${extra}) (lib.unique extras);
17 pythonEnv = matrix-synapse-unwrapped.python.buildEnv.override {
18 extraLibs = extraPackages ++ plugins;
21 searchPath = "${pythonEnv}/${matrix-synapse-unwrapped.python.sitePackages}";
24 name = (lib.appendToName "wrapped" matrix-synapse-unwrapped).name;
31 for bin in ${matrix-synapse-unwrapped}/bin/*; do
33 makeWrapper "$bin" "$out/bin/$(basename $bin)" \
34 --set PYTHONPATH ${searchPath}
39 unwrapped = matrix-synapse-unwrapped;
41 # for backward compatibility
42 inherit (matrix-synapse-unwrapped) plugins tests tools;
45 # Carry the maintainer, licenses, and various useful information.
46 inherit (matrix-synapse-unwrapped) meta;