erlangR19: 19.1.6 -> 19.2
Include sw_vers patch as discussed on #21775.
This commit is contained in:
parent
9c8517a9eb
commit
ad3e589c6d
@ -21,7 +21,7 @@ with stdenv.lib;
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "erlang-" + version + "${optionalString odbcSupport "-odbc"}"
|
name = "erlang-" + version + "${optionalString odbcSupport "-odbc"}"
|
||||||
+ "${optionalString javacSupport "-javac"}";
|
+ "${optionalString javacSupport "-javac"}";
|
||||||
version = "19.1.6";
|
version = "19.2";
|
||||||
|
|
||||||
# Minor OTP releases are not always released as tarbals at
|
# Minor OTP releases are not always released as tarbals at
|
||||||
# http://erlang.org/download/ So we have to download from
|
# http://erlang.org/download/ So we have to download from
|
||||||
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "erlang";
|
owner = "erlang";
|
||||||
repo = "otp";
|
repo = "otp";
|
||||||
rev = "OTP-${version}";
|
rev = "OTP-${version}";
|
||||||
sha256 = "120dqi8h2fwqfmh9g2nmkf153zlglzw9kkddz57xqvqq5arcs72y";
|
sha256 = "06pr4ydrqpp1skx85zjb1an4kvzv6vacb771vy71k54j7w6lh9hk";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
@ -43,6 +43,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
debugInfo = enableDebugInfo;
|
debugInfo = enableDebugInfo;
|
||||||
|
|
||||||
|
prePatch = ''
|
||||||
|
substituteInPlace configure.in \
|
||||||
|
--replace '`sw_vers -productVersion`' '10.10'
|
||||||
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
./otp_build autoconf
|
./otp_build autoconf
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user