From 8d91e1d053056a67601bed167012e9837f08eec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo?= Date: Sun, 23 Oct 2022 08:08:32 -0300 Subject: [PATCH] ocamlPackages.mdx: add update script --- pkgs/development/ocaml-modules/mdx/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/ocaml-modules/mdx/default.nix b/pkgs/development/ocaml-modules/mdx/default.nix index a22a4eab54f..dc8e2312e75 100644 --- a/pkgs/development/ocaml-modules/mdx/default.nix +++ b/pkgs/development/ocaml-modules/mdx/default.nix @@ -1,7 +1,9 @@ { lib, fetchFromGitHub, buildDunePackage, ocaml , alcotest , astring, cmdliner, cppo, fmt, logs, ocaml-version, odoc-parser, ocaml_lwt, re, result, csexp -, pandoc}: +, pandoc +, gitUpdater +}: buildDunePackage rec { pname = "mdx"; @@ -32,6 +34,8 @@ buildDunePackage rec { runHook postInstall ''; + passthru.updateScript = gitUpdater { }; + meta = { description = "Executable OCaml code blocks inside markdown files"; homepage = "https://github.com/realworldocaml/mdx";