darwin purity: polyml
This commit is contained in:
parent
82b9692f12
commit
020bd4a723
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl}:
|
{stdenv, fetchurl, autoreconfHook}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "5.5.2";
|
version = "5.5.2";
|
||||||
@ -7,6 +7,12 @@ in
|
|||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "polyml-${version}";
|
name = "polyml-${version}";
|
||||||
|
|
||||||
|
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
substituteInPlace configure.ac --replace stdc++ c++
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optional stdenv.isDarwin autoreconfHook;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/polyml/polyml.${version}.tar.gz";
|
url = "mirror://sourceforge/polyml/polyml.${version}.tar.gz";
|
||||||
sha256 = "10m680qdad6bd50bav9xjsgmsxw8yxg55vr7grbg0gvykzl2pzbk";
|
sha256 = "10m680qdad6bd50bav9xjsgmsxw8yxg55vr7grbg0gvykzl2pzbk";
|
||||||
|
Loading…
Reference in New Issue
Block a user