forked from mirrors/nixpkgs
63259057a8
Stop hardcoding 10.10 as the platform when building. Instead we'll use $MACOSX_DEPLOYMENT_TARGET so erlang doesn't have to be updated again the next time that's changed.
11 lines
266 B
Nix
11 lines
266 B
Nix
{ mkDerivation }:
|
|
|
|
mkDerivation rec {
|
|
version = "20.3.8.9";
|
|
sha256 = "0v2iiyzss8hiih98wvj0gi2qzdmmhh7bvc9p025wlfm4k7r1109a";
|
|
|
|
prePatch = ''
|
|
substituteInPlace configure.in --replace '`sw_vers -productVersion`' "''${MACOSX_DEPLOYMENT_TARGET:-10.12}"
|
|
'';
|
|
}
|