git.iko.soy/typeable/nixpkgs
on master help sign in
erlang: fix ssl on darwin
commit60a7a4db83d53652e847104421702dd7969c4b9d authorDaiderd Jordan <daiderd@gmail.com> dateSat 14 Oct 2017, 12:36 (9 years ago) parenteef496f
1 file changed+10−1
pkgs/development/interpreters/erlang/R19.nix+10−1
pkgs/development/interpreters/erlang/R19.nix+10−1
@@ -1,9 +1,18 @@
1−{ mkDerivation, fetchurl }:
1+{ mkDerivation, fetchurl, fetchpatch }:
22
33mkDerivation rec {
44 version = "19.3";
55 sha256 = "0pp2hl8jf4iafpnsmf0q7jbm313daqzif6ajqcmjyl87m5pssr86";
66
7+ patches = [
8+ # macOS 10.13 crypto fix from OTP-20.1.2
9+ (fetchpatch {
10+ name = "darwin-crypto.patch";
11+ url = "https://github.com/erlang/otp/commit/882c90f72ba4e298aa5a7796661c28053c540a96.patch";
12+ sha256 = "1gggzpm8ssamz6975z7px0g8qq5i4jqw81j846ikg49c5cxvi0hi";
13+ })
14+ ];
15+
716 prePatch = ''
817 substituteInPlace configure.in --replace '`sw_vers -productVersion`' '10.10'
918 '';