2018-07-21 01:44:44 +01:00
|
|
|
{ mkDerivation, fetchpatch }:
|
2016-07-23 00:07:41 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
mkDerivation {
|
2018-09-25 21:39:54 +01:00
|
|
|
version = "19.3.6.11";
|
|
|
|
sha256 = "0b02iv8dly1vkc2xnqqi030sdj34h4gji2h4qgilllajr1f868vm";
|
2016-07-23 00:07:41 +01:00
|
|
|
|
2017-10-14 11:36:15 +01:00
|
|
|
patches = [
|
|
|
|
# macOS 10.13 crypto fix from OTP-20.1.2
|
|
|
|
(fetchpatch {
|
|
|
|
name = "darwin-crypto.patch";
|
|
|
|
url = "https://github.com/erlang/otp/commit/882c90f72ba4e298aa5a7796661c28053c540a96.patch";
|
|
|
|
sha256 = "1gggzpm8ssamz6975z7px0g8qq5i4jqw81j846ikg49c5cxvi0hi";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2017-01-10 07:09:53 +00:00
|
|
|
prePatch = ''
|
2019-08-14 23:54:56 +01:00
|
|
|
substituteInPlace configure.in --replace '`sw_vers -productVersion`' "''${MACOSX_DEPLOYMENT_TARGET:-10.12}"
|
2017-01-10 07:09:53 +00:00
|
|
|
'';
|
2016-07-23 00:07:41 +01:00
|
|
|
}
|