polyml: enable libffi and gmp
Thanks, @Mic92.
This commit is contained in:
parent
478e88d13e
commit
6818848fac
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
{ stdenv, fetchFromGitHub, autoreconfHook, gmp, libffi }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "polyml-${version}";
|
name = "polyml-${version}";
|
||||||
@ -8,7 +8,14 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace configure.ac --replace stdc++ c++
|
substituteInPlace configure.ac --replace stdc++ c++
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optional stdenv.isDarwin autoreconfHook;
|
buildInputs = [ libffi gmp ] ++
|
||||||
|
stdenv.lib.optional stdenv.isDarwin autoreconfHook;
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--enable-shared"
|
||||||
|
"--with-system-libffi"
|
||||||
|
"--with-gmp"
|
||||||
|
];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "polyml";
|
owner = "polyml";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user