nixpkgs/pkgs/development/interpreters/erlang/R19.nix

20 lines
543 B
Nix
Raw Normal View History

{ mkDerivation, fetchpatch }:
mkDerivation rec {
2018-03-21 16:10:10 +00:00
version = "19.3.6.6";
sha256 = "05l81gig0hmr951pjvwknc9x2qvpm95ph9z072hn4jqg13rzbgvg";
2017-10-14 10:36:15 +00: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";
})
];
prePatch = ''
substituteInPlace configure.in --replace '`sw_vers -productVersion`' '10.10'
'';
}