oxlint: add updateScript

This commit is contained in:
Joseph LaFreniere
2025-08-04 05:52:28 -05:00
parent d3a64e492b
commit 8b289ae763

View File

@@ -2,6 +2,7 @@
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
rust-jemalloc-sys,
versionCheckHook,
}:
@@ -35,6 +36,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Collection of JavaScript tools written in Rust";
homepage = "https://github.com/oxc-project/oxc";