diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2022-05-29 15:05:22 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2022-06-05 15:44:28 +0200 |
commit | 0a91054a94cf4abab1048134cc8066d2a7db4ede (patch) | |
tree | 2a001a314a1cda5e6ebb9ad84b58584db36ead17 /pkgs/development/ocaml-modules | |
parent | f6f5188f751cdb9821802eef4e5e680e758eca53 (diff) |
oacmlPackages.toml: make compatible with menhir ≥ 20211215
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/toml/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/toml/default.nix b/pkgs/development/ocaml-modules/toml/default.nix index b79d80016d9cc..41c52985cf998 100644 --- a/pkgs/development/ocaml-modules/toml/default.nix +++ b/pkgs/development/ocaml-modules/toml/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, buildDunePackage +{ lib, fetchFromGitHub, fetchpatch, buildDunePackage , iso8601, menhir }: @@ -13,6 +13,12 @@ buildDunePackage rec { sha256 = "sha256-VEZQTFPwAGShCBGbKUiNOIY1zA/JdTpXU0ZIGNWopnQ="; }; + # Ensure compatibility with menhir ≥ 20211215 + patches = fetchpatch { + url = "https://github.com/ocaml-toml/To.ml/commit/41172b739dff43424a12f7c1f0f64939e3660648.patch"; + sha256 = "sha256:1333xkmm9qp5m3pp4y5w17k6rvmb30v62qyra6rfk1km2v28hqqq"; + }; + nativeBuildInputs = [ menhir ]; propagatedBuildInputs = [ iso8601 ]; |