Revert "fuuko/mautrix-whatsapp: Use unstable version from PR"

This reverts commit e1b59d57ff.
This commit is contained in:
Simon Bruder 2021-06-19 16:02:04 +02:00
parent 85a102f53c
commit 71a5ea7a0d
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -1,15 +1,6 @@
# somewhat adapted from https://github.com/NixOS/nixpkgs/pull/59211 # somewhat adapted from https://github.com/NixOS/nixpkgs/pull/59211
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let let
nixpkgsMa27 = import
(pkgs.fetchFromGitHub {
owner = "Ma27";
repo = "nixpkgs";
rev = "5c7156faf1c766166d663a68e666678992ca2b2a";
sha256 = "0jj9slwrpzxm88cqz7qy2v92828wsiqhrr32alix5mq7xhfyblg0";
})
{ inherit (pkgs) system; };
synapseCfg = config.services.matrix-synapse; synapseCfg = config.services.matrix-synapse;
in in
let let
@ -92,7 +83,7 @@ in
serviceConfig = { serviceConfig = {
DynamicUser = true; DynamicUser = true;
StateDirectory = "mautrix-whatsapp"; StateDirectory = "mautrix-whatsapp";
ExecStart = "${nixpkgsMa27.mautrix-whatsapp}/bin/mautrix-whatsapp -c ${generatedConfig}/config.yaml"; ExecStart = "${pkgs.mautrix-whatsapp}/bin/mautrix-whatsapp -c ${generatedConfig}/config.yaml";
Restart = "on-failure"; Restart = "on-failure";
}; };
}; };