3
0
Fork 0
forked from mirrors/nixpkgs

erlang: fix ssl on darwin

This commit is contained in:
Daiderd Jordan 2017-10-14 12:36:15 +02:00
parent eef496f01c
commit 60a7a4db83
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -1,9 +1,18 @@
{ mkDerivation, fetchurl }: { mkDerivation, fetchurl, fetchpatch }:
mkDerivation rec { mkDerivation rec {
version = "19.3"; version = "19.3";
sha256 = "0pp2hl8jf4iafpnsmf0q7jbm313daqzif6ajqcmjyl87m5pssr86"; sha256 = "0pp2hl8jf4iafpnsmf0q7jbm313daqzif6ajqcmjyl87m5pssr86";
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";
})
];
prePatch = '' prePatch = ''
substituteInPlace configure.in --replace '`sw_vers -productVersion`' '10.10' substituteInPlace configure.in --replace '`sw_vers -productVersion`' '10.10'
''; '';