folo: add nix-update-script

This commit is contained in:
Amadej Kastelic 2025-09-14 09:34:51 +02:00
commit ba94a714ea
No known key found for this signature in database

View file

@ -1,6 +1,7 @@
{
electron,
fetchFromGitHub,
nix-update-script,
imagemagick,
lib,
makeDesktopItem,
@ -120,6 +121,13 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"^desktop/v([0-9]+\\.[0-9]+\\.[0-9]+)$"
];
};
meta = {
description = "Next generation information browser";
homepage = "https://github.com/RSSNext/Folo";