Unverified Commit 013f0a99 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #270227 from khaneliman/darwin-fix

yabai: fix x86_64 build
parents 43418a92 f9bc6431
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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.