From 71a6a00d260069d30d07b66aeacc15e9f7c0bf06 Mon Sep 17 00:00:00 2001 From: yvt Date: Fri, 16 Sep 2022 00:33:35 +0900 Subject: [PATCH] chore(nix): add `AppKit` to `buildInputs` on Darwin Signed-off-by: yvt --- etc/shell.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/shell.nix b/etc/shell.nix index a83a02fec7a..5d8a7b99211 100644 --- a/etc/shell.nix +++ b/etc/shell.nix @@ -20,7 +20,9 @@ clangStdenv.mkDerivation rec { # Build utilities cmake dbus gcc git pkgconfig which llvm autoconf213 perl yasm m4 (python3.withPackages (ps: with ps; [virtualenv pip dbus])) - ]; + ] ++ (lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.AppKit + ]); LIBCLANG_PATH = llvmPackages.clang-unwrapped.lib + "/lib/";