commit 14d7df8e0f6f14d87a7527c6242e6d0238acb7b3
parent 8c48c8189b8e7fcd4c68d7ab582ffee494828d64
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Wed, 10 Nov 2021 18:04:33 +0300
yabai: fix build
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -288,7 +288,7 @@ lib.makeScope newScope (
inherit (darwin.apple_sdk.frameworks) Foundation;
};
yabai = callPackage ./misc/yabai {
- inherit (darwin.apple_sdk.frameworks) Cocoa ScriptingBridge;
+ inherit (darwin.apple_sdk.frameworks) Carbon Cocoa SkyLight ScriptingBridge;
};
### NAKARTE
diff --git a/pkgs/misc/yabai/default.nix b/pkgs/misc/yabai/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, Cocoa, ScriptingBridge, installShellFiles, xxd }:
+{ lib, stdenv, fetchFromGitHub, Carbon, Cocoa, SkyLight, ScriptingBridge, installShellFiles, xxd }:
stdenv.mkDerivation rec {
pname = "yabai";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ installShellFiles xxd ];
- buildInputs = [ Cocoa ScriptingBridge ];
+ buildInputs = [ Carbon Cocoa SkyLight ScriptingBridge ];
postInstall = ''
install -Dm755 bin/yabai -t $out/bin