@@ -5,7 +5,7 @@
55# - The exact version can be specified through the `version` argument to
66# the derivation; it defaults to the latest stable version.
77
8−{ stdenv, fetchFromGitHub, writeText, pkgconfig
8+{ stdenv, fetchFromGitHub, writeText, pkgconfig, gnumake42
99, ocamlPackages, ncurses
1010, buildIde ? !(stdenv.isDarwin && stdenv.lib.versionAtLeast version "8.10")
1111, glib, gnome3, wrapGAppsHook
@@ -107,7 +107,9 @@ self = stdenv.mkDerivation {
107107 inherit sha256;
108108 };
109109
110− nativeBuildInputs = [ pkgconfig ];
110+ nativeBuildInputs = [ pkgconfig ]
111+ ++ stdenv.lib.optional (!versionAtLeast "8.6") gnumake42
112+ ;
111113 buildInputs = [ ncurses ocamlPackages.ocaml ocamlPackages.findlib ]
112114 ++ stdenv.lib.optional (!versionAtLeast "8.10") ocamlPackages.camlp5
113115 ++ [ ocamlPackages.num ]