summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/science/logic
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2020-07-27 10:35:18 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2020-08-03 07:46:20 +0200
commit390769312d558c71b6fa3711ba45fbb6086f5dc4 (patch)
treeda35f13004cb7fc59f5d0fc8fd70febdf29c5805 /pkgs/applications/science/logic
parent7f0a9a4adbec6702873b74d845cf71bf1fefc73d (diff)
coq_8_5: fix build (use gnumake 4.2)
Diffstat (limited to 'pkgs/applications/science/logic')
-rw-r--r--pkgs/applications/science/logic/coq/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/science/logic/coq/default.nix b/pkgs/applications/science/logic/coq/default.nix
index a10b34e0a609..51dc5fffdec8 100644
--- a/pkgs/applications/science/logic/coq/default.nix
+++ b/pkgs/applications/science/logic/coq/default.nix
@@ -5,7 +5,7 @@
# - The exact version can be specified through the `version` argument to
# the derivation; it defaults to the latest stable version.
-{ stdenv, fetchFromGitHub, writeText, pkgconfig
+{ stdenv, fetchFromGitHub, writeText, pkgconfig, gnumake42
, ocamlPackages, ncurses
, buildIde ? !(stdenv.isDarwin && stdenv.lib.versionAtLeast version "8.10")
, glib, gnome3, wrapGAppsHook
@@ -107,7 +107,9 @@ self = stdenv.mkDerivation {
inherit sha256;
};
- nativeBuildInputs = [ pkgconfig ];
+ nativeBuildInputs = [ pkgconfig ]
+ ++ stdenv.lib.optional (!versionAtLeast "8.6") gnumake42
+ ;
buildInputs = [ ncurses ocamlPackages.ocaml ocamlPackages.findlib ]
++ stdenv.lib.optional (!versionAtLeast "8.10") ocamlPackages.camlp5
++ [ ocamlPackages.num ]