matrix-synapse,mautrix-facebook: fix runtime inclusion of python3 systemd

https://github.com/NixOS/nixpkgs/pull/192197 broke these packages by adding
systemd as a dependency. This meant that the included package was no longer the
python3 systemd package, but the general systemd derivation. This broke the
packages at runtime. This PR fixes that.
This commit is contained in:
Charlotte Van Petegem 2023-01-24 09:44:36 +01:00
parent f203bcdff1
commit b6f3519384
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 2 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, python3, openssl, rustPlatform
, enableSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd
, enableSystemd ? lib.meta.availableOn stdenv.hostPlatform python3.pkgs.systemd
, nixosTests
, enableRedis ? true
, callPackage

View file

@ -1,10 +1,9 @@
{ lib
, stdenv
, systemd
, enableSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
, fetchFromGitHub
, fetchpatch
, python3
, enableSystemd ? lib.meta.availableOn stdenv.hostPlatform python3.pkgs.systemd
}:
python3.pkgs.buildPythonPackage rec {