0eaa97ffad
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
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.3";
|
|
sha256 = "133aw1ffkxdf38na3smmvn5qwwlalh4r4a51793h1wkhdzkyl6mv";
|
|
|
|
prePatch = ''
|
|
substituteInPlace make/configure.in --replace '`sw_vers -productVersion`' "''${MACOSX_DEPLOYMENT_TARGET:-10.12}"
|
|
substituteInPlace erts/configure.in --replace '-Wl,-no_weak_imports' ""
|
|
'';
|
|
}
|