b55a4ee46f
GitOrigin-RevId: e9158eca70ae59e73fae23be5d13d3fa0cfc78b4
13 lines
455 B
Nix
13 lines
455 B
Nix
{ mkDerivation }:
|
|
|
|
# How to obtain `sha256`:
|
|
# nix-prefetch-url --unpack https://github.com/erlang/otp/archive/OTP-${version}.tar.gz
|
|
mkDerivation {
|
|
version = "23.1.4";
|
|
sha256 = "16ssxmrgjgvzg06aa1l4wz9rrdjfy39k22amgabxwb5if1g8bg8z";
|
|
|
|
prePatch = ''
|
|
substituteInPlace make/configure.in --replace '`sw_vers -productVersion`' "''${MACOSX_DEPLOYMENT_TARGET:-10.12}"
|
|
substituteInPlace erts/configure.in --replace '-Wl,-no_weak_imports' ""
|
|
'';
|
|
}
|