require go 1.18 for mautrix-whatsapp
This commit is contained in:
parent
e81962a903
commit
729343a933
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
lib,
|
lib,
|
||||||
writeScript,
|
writeScript,
|
||||||
|
go
|
||||||
}: let
|
}: let
|
||||||
source = builtins.fromJSON (builtins.readFile ./source.json);
|
source = builtins.fromJSON (builtins.readFile ./source.json);
|
||||||
in
|
in
|
||||||
|
@ -24,6 +25,7 @@ in
|
||||||
meta = {
|
meta = {
|
||||||
description = "Whatsapp-Matrix double-puppeting bridge";
|
description = "Whatsapp-Matrix double-puppeting bridge";
|
||||||
license = lib.licenses.agpl3;
|
license = lib.licenses.agpl3;
|
||||||
|
broken = builtins.compareVersions go.version "1.18";
|
||||||
};
|
};
|
||||||
passthru.updateScript = writeScript "update-mautrix-whatsapp" ''
|
passthru.updateScript = writeScript "update-mautrix-whatsapp" ''
|
||||||
${../../scripts/update-git.sh} "https://github.com/mautrix/whatsapp" matrix/mautrix-whatsapp/source.json
|
${../../scripts/update-git.sh} "https://github.com/mautrix/whatsapp" matrix/mautrix-whatsapp/source.json
|
||||||
|
|
Reference in a new issue