mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
a7b54d9016
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
20 lines
571 B
Nix
20 lines
571 B
Nix
{ mkDerivation, fetchpatch }:
|
|
|
|
mkDerivation {
|
|
version = "19.3.6.13";
|
|
sha256 = "1zbg54p7pdr8bjyrxvi7vs41vgamqa8lsynnm6ac6845q0xwpwid";
|
|
|
|
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`' "''${MACOSX_DEPLOYMENT_TARGET:-10.12}"
|
|
'';
|
|
}
|