From f9bc64313735c458a33f6c4b975adccb119ab3fe Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sun, 26 Nov 2023 12:54:58 -0600 Subject: [PATCH] yabai: fix x86_64 build --- pkgs/os-specific/darwin/yabai/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/os-specific/darwin/yabai/default.nix b/pkgs/os-specific/darwin/yabai/default.nix index 841746957c76..417d25400a47 100644 --- a/pkgs/os-specific/darwin/yabai/default.nix +++ b/pkgs/os-specific/darwin/yabai/default.nix @@ -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.