1ffc76754d
GitOrigin-RevId: a5cc7d3197705f933d88e97c0c61849219ce76c1
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.0.2";
|
|
sha256 = "19ly2m0rjay6071r75s9870cm3sph25zd1mvy67l5v4jg7mxdjzy";
|
|
|
|
prePatch = ''
|
|
substituteInPlace make/configure.in --replace '`sw_vers -productVersion`' "''${MACOSX_DEPLOYMENT_TARGET:-10.12}"
|
|
substituteInPlace erts/configure.in --replace '-Wl,-no_weak_imports' ""
|
|
'';
|
|
}
|