firefox-extensions: fix version-regex so that uBlock won't try to update to nonexistent versions anymore

This commit is contained in:
2025-03-20 03:18:20 +00:00
parent 9b9d0760b4
commit 48b4a61e7b

View File

@@ -109,7 +109,7 @@ let
passthru.updateScript = nix-update-script { passthru.updateScript = nix-update-script {
# ignore beta versions # ignore beta versions
extraArgs = [ "--version-regex" "([0-9.]+)" ]; extraArgs = [ "--version-regex" "([0-9.]+)$" ];
}; };
passthru.extid = extid; passthru.extid = extid;
}; };
@@ -174,7 +174,7 @@ let
# url = "https://github.com/gorhill/uBlock/releases/download/${version}/uBlock0_${version}.firefox.xpi"; # url = "https://github.com/gorhill/uBlock/releases/download/${version}/uBlock0_${version}.firefox.xpi";
url = "https://github.com/gorhill/uBlock/releases/download/${version}/uBlock0_${version}.firefox.signed.xpi"; url = "https://github.com/gorhill/uBlock/releases/download/${version}/uBlock0_${version}.firefox.signed.xpi";
version = "1.63.0"; version = "1.63.0";
hash = "sha256-RqleAoNzRCRTwH/MMSi0wuo+/G875yc3csyXNcqJO+Q="; hash = "sha256-iiCChLU1ZZV8h4qTtxe0bqDQecsJchQGK3a7ltwYoPQ=";
}; };
}; };
}) ).overrideScope (self: super: }) ).overrideScope (self: super: