rome: add passthru.updateScript

This commit is contained in:
Felix Schröter
2023-05-31 15:06:14 +02:00
parent 69867f9de4
commit 53141d5fd7
+5
View File
@@ -4,6 +4,7 @@
, pkg-config
, stdenv
, darwin
, nix-update-script
}:
rustPlatform.buildRustPackage rec {
@@ -43,6 +44,10 @@ rustPlatform.buildRustPackage rec {
"--skip commands::check::fs_error_dereferenced_symlink"
];
passthru.updateScript = nix-update-script {
extraArgs = [ "--version-regex" "cli%2Fv(.*)" ];
};
meta = with lib; {
description = "A formatter, linter, bundler, and more for JavaScript, TypeScript, JSON, HTML, Markdown, and CSS";
homepage = "https://rome.tools";