From dbfbaae0fa62dbead4bb05bc83b80d491c648d36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo?= Date: Sun, 23 Oct 2022 08:05:58 -0300 Subject: [PATCH] ocamlPackages.earlybird: add update script --- pkgs/development/ocaml-modules/earlybird/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/ocaml-modules/earlybird/default.nix b/pkgs/development/ocaml-modules/earlybird/default.nix index 4a5e16d534c9..2ef4946306c9 100644 --- a/pkgs/development/ocaml-modules/earlybird/default.nix +++ b/pkgs/development/ocaml-modules/earlybird/default.nix @@ -1,5 +1,6 @@ { lib, fetchFromGitHub, ocaml, buildDunePackage , cmdliner, dap, fmt, iter, logs, lru, lwt_ppx, lwt_react, menhir, menhirLib, path_glob, ppx_deriving_yojson +, gitUpdater }: if lib.versionAtLeast ocaml.version "4.13" @@ -23,6 +24,8 @@ buildDunePackage rec { buildInputs = [ cmdliner dap fmt iter logs lru lwt_ppx lwt_react menhir menhirLib path_glob ppx_deriving_yojson ]; + passthru.updateScript = gitUpdater { }; + meta = { homepage = "https://github.com/hackwaly/ocamlearlybird"; description = "OCaml debug adapter";