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:
parent
f203bcdff1
commit
b6f3519384
|
@ -1,5 +1,5 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, python3, openssl, rustPlatform
|
{ lib, stdenv, fetchFromGitHub, python3, openssl, rustPlatform
|
||||||
, enableSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd
|
, enableSystemd ? lib.meta.availableOn stdenv.hostPlatform python3.pkgs.systemd
|
||||||
, nixosTests
|
, nixosTests
|
||||||
, enableRedis ? true
|
, enableRedis ? true
|
||||||
, callPackage
|
, callPackage
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, systemd
|
|
||||||
, enableSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
, python3
|
, python3
|
||||||
|
, enableSystemd ? lib.meta.availableOn stdenv.hostPlatform python3.pkgs.systemd
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonPackage rec {
|
python3.pkgs.buildPythonPackage rec {
|
||||||
|
|
Loading…
Reference in a new issue