1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

darwin purity: polyml

This commit is contained in:
Jude Taylor 2015-09-30 00:33:46 -07:00
parent de05a7b2ef
commit a424afdedd

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";