aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/sqlexpr/ppx.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/sqlexpr/ppx.nix')
-rw-r--r--pkgs/development/ocaml-modules/sqlexpr/ppx.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/sqlexpr/ppx.nix b/pkgs/development/ocaml-modules/sqlexpr/ppx.nix
index 863bd21c90ef..572ff5936154 100644
--- a/pkgs/development/ocaml-modules/sqlexpr/ppx.nix
+++ b/pkgs/development/ocaml-modules/sqlexpr/ppx.nix
@@ -6,6 +6,8 @@ buildDunePackage {
pname = "ppx_sqlexpr";
inherit (sqlexpr) version src meta;
+ minimumOCamlVersion = "4.06";
+
postPatch = ''
substituteInPlace src/ppx/jbuild --replace ppx_core ppxlib
'';