Skip to content

Commit

Permalink
erlang: fix ssl on darwin
Browse files Browse the repository at this point in the history
(cherry picked from commit 60a7a4d)
  • Loading branch information
LnL7 committed Oct 14, 2017
1 parent f36ff95 commit c492a74
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkgs/development/interpreters/erlang/R19.nix
@@ -1,9 +1,18 @@
{ mkDerivation, fetchurl }:
{ mkDerivation, fetchurl, fetchpatch }:

mkDerivation rec {
version = "19.3";
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 = ''
substituteInPlace configure.in --replace '`sw_vers -productVersion`' '10.10'
'';
Expand Down

0 comments on commit c492a74

Please sign in to comment.