Unverified Commit 07ed8b53 authored by Defelo's avatar Defelo
Browse files

broot: add updateScript

parent a7a9cbc7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
  zlib,
  buildPackages,
  versionCheckHook,
  nix-update-script,
  withClipboard ? true,
  withTrash ? !stdenv.hostPlatform.isDarwin,
}:
@@ -81,6 +82,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
  nativeInstallCheckInputs = [ versionCheckHook ];
  versionCheckProgramArg = "--version";

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

  meta = {
    description = "Interactive tree view, a fuzzy search, a balanced BFS descent and customizable commands";
    homepage = "https://dystroy.org/broot/";