git.iko.soy/typeable/nixpkgs
on master help sign in
darwin purity: polyml
commit020bd4a723fe8ef3bea73a70bab1f1ff8395a7b3 authorJude Taylor <me@jude.bio> dateWed 30 Sep 2015, 00:33 (11 years ago) parent82b9692
1 file changed+7−1
pkgs/development/compilers/polyml/default.nix+7−1
pkgs/development/compilers/polyml/default.nix+7−1
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl}:
1+{stdenv, fetchurl, autoreconfHook}:
22
33let
44 version = "5.5.2";
@@ -7,6 +7,12 @@ in
77stdenv.mkDerivation {
88 name = "polyml-${version}";
99
10+ prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
11+ substituteInPlace configure.ac --replace stdc++ c++
12+ '';
13+
14+ buildInputs = stdenv.lib.optional stdenv.isDarwin autoreconfHook;
15+
1016 src = fetchurl {
1117 url = "mirror://sourceforge/polyml/polyml.${version}.tar.gz";
1218 sha256 = "10m680qdad6bd50bav9xjsgmsxw8yxg55vr7grbg0gvykzl2pzbk";