polyml: autoreconfHook -> nativeBuildInputs

Thanks, @peterhoeg.
This commit is contained in:
Eric Bailey 2017-06-18 11:39:01 -05:00
parent 6818848fac
commit 0f51a2a029
No known key found for this signature in database
GPG Key ID: 29E1B8D32C1635C4

View File

@ -8,8 +8,9 @@ stdenv.mkDerivation rec {
substituteInPlace configure.ac --replace stdc++ c++
'';
buildInputs = [ libffi gmp ] ++
stdenv.lib.optional stdenv.isDarwin autoreconfHook;
buildInputs = [ libffi gmp ];
nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin autoreconfHook;
configureFlags = [
"--enable-shared"