Commit 3d830355 authored by sohalt's avatar sohalt
Browse files

bbin: add updateScript

parent 86c4da96
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
{ lib
, stdenvNoCC
, fetchFromGitHub
, gitUpdater
, makeWrapper
, babashka-unwrapped
}:
@@ -33,6 +34,10 @@ stdenvNoCC.mkDerivation rec {
    runHook postInstall
  '';

  passthru = {
    updateScript = gitUpdater { rev-prefix = "v"; };
  };

  meta = with lib; {
    homepage = "https://github.com/babashka/bbin";
    description = "Install any Babashka script or project with one command";