darwin purity: polyml

This commit is contained in:
Jude Taylor 2015-09-30 00:33:46 -07:00
parent 82b9692f12
commit 020bd4a723

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl}:
{stdenv, fetchurl, autoreconfHook}:
let
version = "5.5.2";
@ -7,6 +7,12 @@ in
stdenv.mkDerivation {
name = "polyml-${version}";
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace configure.ac --replace stdc++ c++
'';
buildInputs = stdenv.lib.optional stdenv.isDarwin autoreconfHook;
src = fetchurl {
url = "mirror://sourceforge/polyml/polyml.${version}.tar.gz";
sha256 = "10m680qdad6bd50bav9xjsgmsxw8yxg55vr7grbg0gvykzl2pzbk";