From bac94c5101f325ebfe6f737be7fd6614f9c7360d Mon Sep 17 00:00:00 2001 From: Jude Taylor Date: Thu, 22 Oct 2015 13:46:41 -0700 Subject: [PATCH] lua-bitop: update MACOSX_DEPLOYMENT_TARGET --- pkgs/top-level/lua-packages.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/top-level/lua-packages.nix b/pkgs/top-level/lua-packages.nix index e4267fb4f319..e58df1f42c33 100644 --- a/pkgs/top-level/lua-packages.nix +++ b/pkgs/top-level/lua-packages.nix @@ -36,6 +36,10 @@ let buildFlags = stdenv.lib.optionalString stdenv.isDarwin "macosx"; + postPatch = stdenv.lib.optionalString stdenv.isDarwin '' + substituteInPlace Makefile --replace 10.4 10.5 + ''; + preBuild = '' makeFlagsArray=( ${stdenv.lib.optionalString stdenv.cc.isClang "CC=$CC"}