Merge pull request #21775 from yurrriq/update/pkgs/development/interpreters/erlang/R19

erlangR19: 19.1.6 -> 19.2
This commit is contained in:
Daiderd Jordan 2017-01-11 19:22:20 +01:00 committed by GitHub
commit 8ff396ae97

View File

@ -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
'';