about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorAustin Horstman <khaneliman12@gmail.com>2023-11-26 12:54:58 -0600
committerAustin Horstman <khaneliman12@gmail.com>2023-11-26 12:54:58 -0600
commitf9bc64313735c458a33f6c4b975adccb119ab3fe (patch)
treef7a24223337be764a3b56e9245df072f30b0db95 /pkgs/os-specific
parentf5d63044ab2ee439e304cc969f21b2337df9fd93 (diff)
yabai: fix x86_64 build
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/darwin/yabai/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/os-specific/darwin/yabai/default.nix b/pkgs/os-specific/darwin/yabai/default.nix
index 841746957c76b..417d25400a47d 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.