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