Skip to content

Commit

Permalink
matrix-synapse,mautrix-facebook: fix runtime inclusion of python3 sys…
Browse files Browse the repository at this point in the history
…temd

NixOS#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.
  • Loading branch information
chvp committed Jan 24, 2023
1 parent f203bcd commit b6f3519
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkgs/servers/matrix-synapse/default.nix
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions pkgs/servers/mautrix-facebook/default.nix
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit b6f3519

Please sign in to comment.