diff options
author | José Romildo <malaquias@gmail.com> | 2022-10-23 11:23:25 -0300 |
---|---|---|
committer | José Romildo <malaquias@gmail.com> | 2022-10-23 18:02:20 -0300 |
commit | c486b14861116a214c0d72eb7fba17e95dd3f9b4 (patch) | |
tree | e13ef937a630c32646e461b1cc952d5ed3083312 | |
parent | 3a669e05fde40fdf274f5a01796aa3a376e1eec7 (diff) |
ocamlPackages.ppx_deriving_cmdliner: compatibility with ppxlib-0.26
-rw-r--r-- | pkgs/development/ocaml-modules/ppx_deriving_cmdliner/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/ppx_deriving_cmdliner/default.nix b/pkgs/development/ocaml-modules/ppx_deriving_cmdliner/default.nix index 195b53a5fe12d..3350181dda451 100644 --- a/pkgs/development/ocaml-modules/ppx_deriving_cmdliner/default.nix +++ b/pkgs/development/ocaml-modules/ppx_deriving_cmdliner/default.nix @@ -1,6 +1,7 @@ { lib , buildDunePackage , fetchFromGitHub +, fetchpatch , alcotest , cmdliner , ppx_deriving @@ -20,6 +21,15 @@ buildDunePackage rec { sha256 = "sha256-/22KLQnxu3e2ZSca6ZLxTJDfv/rsmgCUkJnZC0RwRi8"; }; + patches = [ + # Ppxlib.0.26.0 compatibility + # remove when a new version is released + (fetchpatch { + url = "https://patch-diff.githubusercontent.com/raw/hammerlab/ppx_deriving_cmdliner/pull/50.patch"; + sha256 = "sha256-FfUfEAsyobwZ99+s5sFAaCE6Xgx7jLr/q79OxDbGcvQ="; + }) + ]; + propagatedBuildInputs = [ cmdliner ppx_deriving |