diff --git a/pkgs/development/ocaml-modules/pyml/default.nix b/pkgs/development/ocaml-modules/pyml/default.nix index 8f5553ffa59e..9c74b4f9b47a 100644 --- a/pkgs/development/ocaml-modules/pyml/default.nix +++ b/pkgs/development/ocaml-modules/pyml/default.nix @@ -18,6 +18,10 @@ buildDunePackage rec { hash = "sha256-WPtmj9EEs7P72OXWJg1syIrbLuh7u4V4W4nyozXmSa0="; }; + patches = [ + ./remove-stdcompat.patch + ]; + buildInputs = [ utop ]; diff --git a/pkgs/development/ocaml-modules/pyml/remove-stdcompat.patch b/pkgs/development/ocaml-modules/pyml/remove-stdcompat.patch new file mode 100644 index 000000000000..5d8bdb739f59 --- /dev/null +++ b/pkgs/development/ocaml-modules/pyml/remove-stdcompat.patch @@ -0,0 +1,11 @@ +diff --git a/pyml_stubs.c b/pyml_stubs.c +index 40e3481..e7826f1 100644 +--- a/pyml_stubs.c ++++ b/pyml_stubs.c +@@ -11,7 +11,6 @@ + #include + #include + #include +-#include + #include + #include "pyml_stubs.h"