Merge pull request #270227 from khaneliman/darwin-fix

yabai: fix x86_64 build
This commit is contained in:
Mario Rodas 2023-11-26 16:53:16 -05:00 committed by GitHub
commit 013f0a99e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,6 +108,11 @@ in
dontConfigure = true;
enableParallelBuilding = true;
env = {
# silence service.h error
NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
};
postPatch = ''
# aarch64 code is compiled on all targets, which causes our Apple SDK headers to error out.
# Since multilib doesnt work on darwin i dont know of a better way of handling this.