diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-04-20 14:16:48 +0300 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-04-20 14:16:48 +0300 |
commit | ff95913192eea0f4b3d288347e062002c111a55e (patch) | |
tree | 7e62995d72fa7124f35e27e5847b053d44860f19 /pkgs/games | |
parent | 5608f9dbad40f3a0495a351eceb8c4debb9e6099 (diff) |
anki: add missing darwin components
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/anki/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix index bf82e7d90350..38cb2c806f68 100644 --- a/pkgs/games/anki/default.nix +++ b/pkgs/games/anki/default.nix @@ -17,6 +17,8 @@ , rustPlatform , writeShellScriptBin , yarn +, swift +, AVKit , CoreAudio }: @@ -138,7 +140,7 @@ python3.pkgs.buildPythonApplication { ninja qt6.wrapQtAppsHook rsync - ]; + ] ++ lib.optional stdenv.isDarwin swift; nativeCheckInputs = with python3.pkgs; [ pytest mock astroid ]; buildInputs = [ @@ -186,7 +188,10 @@ python3.pkgs.buildPythonApplication { waitress werkzeug zipp - ] ++ lib.optionals stdenv.isDarwin [ CoreAudio ]; + ] ++ lib.optionals stdenv.isDarwin [ + AVKit + CoreAudio + ]; # Activate optimizations RELEASE = true; |