git.iko.soy/typeable/nixpkgs
on master help sign in
xcbuild: fix build on darwin
commit2444738daeebdf890cadd80b5136ffe2f7eb193a authorMario Rodas <marsam@users.noreply.github.com> dateMon 5 Aug 2019, 22:48 (7 years ago) parenta38c8ab
1 file changed+3
pkgs/development/tools/xcbuild/default.nix+3
pkgs/development/tools/xcbuild/default.nix+3
@@ -40,6 +40,9 @@ in stdenv.mkDerivation rec {
4040 postPatch = stdenv.lib.optionalString (!stdenv.isDarwin) ''
4141 sed 1i'#include <sys/sysmacros.h>' \
4242 -i Libraries/xcassets/Headers/xcassets/Slot/SystemVersion.h
43+ '' + stdenv.lib.optionalString stdenv.isDarwin ''
44+ substituteInPlace Libraries/libcar/Sources/Rendition.cpp \
45+ --replace "#if HAVE_LIBCOMPRESSION" "#if 0"
4346 '';
4447
4548 enableParallelBuilding = true;