oxlint: add updateScript
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user