darwin.DarwinTools: remove reference to CFPriv.h

Fixes build on aarch64-darwin.
This commit is contained in:
Andrew Childs
2021-05-17 00:28:05 +09:00
parent c022642fec
commit 3706fe567b
2 changed files with 24 additions and 1 deletions
@@ -8,7 +8,11 @@ stdenv.mkDerivation rec {
sha256 = "0hh4jl590jv3v830p77r3jcrnpndy7p2b8ajai3ldpnx2913jfhp";
};
patchPhase = ''
patches = [
./sw_vers-CFPriv.patch
];
postPatch = ''
substituteInPlace Makefile \
--replace gcc cc
'';