erlangR19: 19.1.6 -> 19.2

Include sw_vers patch as discussed on #21775.
This commit is contained in:
Eric Bailey 2017-01-10 01:09:53 -06:00
parent 9c8517a9eb
commit ad3e589c6d
No known key found for this signature in database
GPG Key ID: 29E1B8D32C1635C4

@ -21,7 +21,7 @@ with stdenv.lib;
stdenv.mkDerivation rec {
name = "erlang-" + version + "${optionalString odbcSupport "-odbc"}"
+ "${optionalString javacSupport "-javac"}";
version = "19.1.6";
version = "19.2";
# Minor OTP releases are not always released as tarbals at
# http://erlang.org/download/ So we have to download from
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
owner = "erlang";
repo = "otp";
rev = "OTP-${version}";
sha256 = "120dqi8h2fwqfmh9g2nmkf153zlglzw9kkddz57xqvqq5arcs72y";
sha256 = "06pr4ydrqpp1skx85zjb1an4kvzv6vacb771vy71k54j7w6lh9hk";
};
buildInputs =
@ -43,6 +43,11 @@ stdenv.mkDerivation rec {
debugInfo = enableDebugInfo;
prePatch = ''
substituteInPlace configure.in \
--replace '`sw_vers -productVersion`' '10.10'
'';
preConfigure = ''
./otp_build autoconf
'';