Unverified Commit 6db22458 authored by Kenichi Kamiya's avatar Kenichi Kamiya
Browse files

oxlint: specify tag in updateScript

The repository has multiple tag patterns like `oxfmt_*``, `crates_*``, and `apps_*`.
Specify the tag to select the right one.
parent f1e73a53
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -38,7 +38,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
  versionCheckProgramArg = "--version";
  doInstallCheck = true;

  passthru.updateScript = nix-update-script { };
  passthru.updateScript = nix-update-script {
    extraArgs = [ "--version-regex=^oxlint_v([0-9.]+)$" ];
  };

  meta = {
    description = "Collection of JavaScript tools written in Rust";