Unverified Commit cb5cfd9a authored by Austin Horstman's avatar Austin Horstman
Browse files

nufmt: add update script

parent b0be0a58
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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";