Unverified Commit 0368011b authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

nixf-diagnose: add update script

To allow running locally:

```
nix-shell maintainers/scripts/update.nix --argstr package nixf-diagnose
```
parent 4dcad234
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  rustPlatform,
  fetchFromGitHub,
  nixf,
  nix-update-script,
}:

rustPlatform.buildRustPackage (finalAttrs: {
@@ -20,6 +21,8 @@ rustPlatform.buildRustPackage (finalAttrs: {

  cargoHash = "sha256-nrr2/lTWPyH7MsG2hSMJjbFCpHsKWINEP8jwSYPhocg=";

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "CLI wrapper for nixf-tidy with fancy diagnostic output";
    mainProgram = "nixf-diagnose";