nufmt: add update script

This commit is contained in:
Austin Horstman
2024-10-15 09:04:34 -05:00
parent b0be0a580d
commit cb5cfd9a6f
+2
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";