bbin: add updateScript
This commit is contained in:
parent
86c4da9608
commit
3d830355df
@ -1,6 +1,7 @@
|
||||
{ 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";
|
||||
|
Loading…
Reference in New Issue
Block a user