nixpkgs/pkgs/development/interpreters/erlang/R23.nix
Chris Wögi 0253c131e5
erlangR23: 23.0.3 -> 23.1 (#98646)
Co-authored-by: cw <789@webuhu.at>
2020-10-01 18:09:47 +02:00

14 lines
453 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";
sha256 = "1k74g6m2lidhp04vrcwrg0jszj3zwxyrm4fsma09sfn9rfsra36g";
prePatch = ''
substituteInPlace make/configure.in --replace '`sw_vers -productVersion`' "''${MACOSX_DEPLOYMENT_TARGET:-10.12}"
substituteInPlace erts/configure.in --replace '-Wl,-no_weak_imports' ""
'';
}