fuuko/mautrix-whatsapp: Use unstable version from PR
nixpkgs PR: https://github.com/NixOS/nixpkgs/pull/126966
This commit is contained in:
parent
61d47861b5
commit
e1b59d57ff
|
@ -1,6 +1,15 @@
|
|||
# somewhat adapted from https://github.com/NixOS/nixpkgs/pull/59211
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
nixpkgsMa27 = import
|
||||
(pkgs.fetchFromGitHub {
|
||||
owner = "Ma27";
|
||||
repo = "nixpkgs";
|
||||
rev = "5c7156faf1c766166d663a68e666678992ca2b2a";
|
||||
sha256 = "0jj9slwrpzxm88cqz7qy2v92828wsiqhrr32alix5mq7xhfyblg0";
|
||||
})
|
||||
{ inherit (pkgs) system; };
|
||||
|
||||
synapseCfg = config.services.matrix-synapse;
|
||||
in
|
||||
let
|
||||
|
@ -83,7 +92,7 @@ in
|
|||
serviceConfig = {
|
||||
DynamicUser = true;
|
||||
StateDirectory = "mautrix-whatsapp";
|
||||
ExecStart = "${pkgs.mautrix-whatsapp}/bin/mautrix-whatsapp -c ${generatedConfig}/config.yaml";
|
||||
ExecStart = "${nixpkgsMa27.mautrix-whatsapp}/bin/mautrix-whatsapp -c ${generatedConfig}/config.yaml";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue