disable whatsapp update

This commit is contained in:
Charlotte 🦝 Delenk 2024-10-17 13:20:36 +02:00
parent bac06e3ade
commit a6f1d8c46f
2 changed files with 8 additions and 6 deletions

View file

@ -35,11 +35,13 @@ in
cp -v --remove-destination -f `readlink $f` $f
done
'';
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
if [ "$(git diff -- matrix/mautrix-whatsapp/source.json)" ]; then
SRC_PATH=$(nix-build -E '(import ../.).packages.x86_64-linux.${pname}.src')
${../../scripts/update-go.sh} $SRC_PATH matrix/mautrix-whatsapp/
fi
'';
*/
}

View file

@ -1,10 +1,10 @@
{
"url": "https://github.com/mautrix/whatsapp",
"rev": "220dc219b8f8cc74c39ff42521cf2675188899c9",
"date": "2024-10-16T17:03:00+03:00",
"path": "/nix/store/yj4m1mh52901knp6lwaiin93bils9cg7-whatsapp",
"sha256": "12myb5aw5glrmsldj6fwlkzss5lsk0ac5c7jha1gafyfi66510g4",
"hash": "sha256-5IFQjInOO/WCgvKwwhSYmhat/6TcGdmorpm+wlVZvoo=",
"rev": "878c7b8718d32c7e5430e450b5f579598581b864",
"date": "2024-10-12T18:54:32+03:00",
"path": "/nix/store/m90cjnr6gfg8llakgpps10bz5q4fmmbh-whatsapp",
"sha256": "1zgyvv02dkr16mbgwbzkr1z1flx5l81m0pmcjij5wxqn7xpp6snm",
"hash": "sha256-1Wpzbz8Wd15klKxeUAOipVMXfsjzL/5WNSHPJsDe/v0=",
"fetchLFS": false,
"fetchSubmodules": false,
"deepClone": false,