nufmt: add update script

This commit is contained in:
Austin Horstman 2024-10-14 16:18:12 -05:00
parent b0be0a580d
commit cb5cfd9a6f
No known key found for this signature in database

View File

@ -4,6 +4,7 @@
fetchFromGitHub,
rustPlatform,
darwin,
nix-update-script,
...
}:
rustPlatform.buildRustPackage rec {
@ -25,6 +26,7 @@ rustPlatform.buildRustPackage rec {
);
cargoHash = "sha256-16Z20opeZpoa7h258um+grL3ktPmY4P0M/tqMTr5hYc=";
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
meta = {
description = "Nushell formatter";