diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-03-06 22:56:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-06 22:56:39 +0200 |
commit | bafd084ffecd5e24a2b95ad954eaaadbcc9dfcd1 (patch) | |
tree | d9bb2079e5cb0cf2bbeb89aedb346db65bc24b81 | |
parent | 1bc51c384c47f19aef1772e0e7f616c79f2f1ed0 (diff) | |
parent | d23e7b1be4e9c3a3135ca07045fb809278b5bf9d (diff) |
Merge pull request #218933 from vbgl/ocaml-elina-fix
ocamlPackages.elina: fixup build by using older make
-rw-r--r-- | pkgs/development/ocaml-modules/elina/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/elina/default.nix b/pkgs/development/ocaml-modules/elina/default.nix index ec4199cc06eb..de000f8aaf83 100644 --- a/pkgs/development/ocaml-modules/elina/default.nix +++ b/pkgs/development/ocaml-modules/elina/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchurl, perl, gmp, mpfr, ocaml, findlib, camlidl, apron }: +{ stdenv, lib, fetchurl, gnumake42, perl, gmp, mpfr, ocaml, findlib, camlidl, apron }: stdenv.mkDerivation rec { version = "1.1"; @@ -8,7 +8,8 @@ stdenv.mkDerivation rec { sha256 = "1nymykskq1yx87y4xl6hl9i4q6kv0qaq25rniqgl1bfn883p1ysc"; }; - nativeBuildInputs = [ perl ocaml findlib camlidl ]; + # fails with make 4.4 + nativeBuildInputs = [ gnumake42 perl ocaml findlib camlidl ]; propagatedBuildInputs = [ apron gmp mpfr ]; @@ -30,6 +31,6 @@ stdenv.mkDerivation rec { homepage = "http://elina.ethz.ch/"; license = lib.licenses.lgpl3; maintainers = [ lib.maintainers.vbgl ]; - inherit (ocaml.meta) platforms; + platforms = lib.intersectLists ocaml.meta.platforms lib.platforms.x86; }; } |