firefox-extensions: fix version-regex so that uBlock won't try to update to nonexistent versions anymore
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user