From 2444738daeebdf890cadd80b5136ffe2f7eb193a Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Mon, 5 Aug 2019 22:48:29 -0500 Subject: xcbuild: fix build on darwin --- pkgs/development/tools/xcbuild/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs/development/tools/xcbuild') diff --git a/pkgs/development/tools/xcbuild/default.nix b/pkgs/development/tools/xcbuild/default.nix index 29325fad7243..73fc0f99ce95 100644 --- a/pkgs/development/tools/xcbuild/default.nix +++ b/pkgs/development/tools/xcbuild/default.nix @@ -40,6 +40,9 @@ in stdenv.mkDerivation rec { postPatch = stdenv.lib.optionalString (!stdenv.isDarwin) '' sed 1i'#include ' \ -i Libraries/xcassets/Headers/xcassets/Slot/SystemVersion.h + '' + stdenv.lib.optionalString stdenv.isDarwin '' + substituteInPlace Libraries/libcar/Sources/Rendition.cpp \ + --replace "#if HAVE_LIBCOMPRESSION" "#if 0" ''; enableParallelBuilding = true; -- cgit 1.4.1