3
0
Fork 0
forked from mirrors/nixpkgs

yabai: fix x86_64 build

This commit is contained in:
Austin Horstman 2023-11-26 12:54:58 -06:00
parent f5d63044ab
commit f9bc643137
No known key found for this signature in database

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.