jaq: add stable release regex to update script

to avoid updating to pre-release versions.
For example: https://github.com/NixOS/nixpkgs/pull/518560
This commit is contained in:
eljamm
2026-05-12 08:31:04 +02:00
parent bd5d476c1d
commit 19d7d72074
+3 -1
View File
@@ -28,7 +28,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
doInstallCheck = true;
passthru = {
updateScript = nix-update-script { };
updateScript = nix-update-script {
extraArgs = [ "--version-regex=^v(\\d+\\.\\d+\\.\\d+)$" ];
};
tests.simple =
runCommand "jaq-test"
{