anki: add missing darwin components
This commit is contained in:
parent
5608f9dbad
commit
ff95913192
@ -17,6 +17,8 @@
|
|||||||
, rustPlatform
|
, rustPlatform
|
||||||
, writeShellScriptBin
|
, writeShellScriptBin
|
||||||
, yarn
|
, yarn
|
||||||
|
, swift
|
||||||
|
, AVKit
|
||||||
, CoreAudio
|
, CoreAudio
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -138,7 +140,7 @@ python3.pkgs.buildPythonApplication {
|
|||||||
ninja
|
ninja
|
||||||
qt6.wrapQtAppsHook
|
qt6.wrapQtAppsHook
|
||||||
rsync
|
rsync
|
||||||
];
|
] ++ lib.optional stdenv.isDarwin swift;
|
||||||
nativeCheckInputs = with python3.pkgs; [ pytest mock astroid ];
|
nativeCheckInputs = with python3.pkgs; [ pytest mock astroid ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -186,7 +188,10 @@ python3.pkgs.buildPythonApplication {
|
|||||||
waitress
|
waitress
|
||||||
werkzeug
|
werkzeug
|
||||||
zipp
|
zipp
|
||||||
] ++ lib.optionals stdenv.isDarwin [ CoreAudio ];
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
AVKit
|
||||||
|
CoreAudio
|
||||||
|
];
|
||||||
|
|
||||||
# Activate optimizations
|
# Activate optimizations
|
||||||
RELEASE = true;
|
RELEASE = true;
|
||||||
|
@ -35689,7 +35689,7 @@ with pkgs;
|
|||||||
angband = callPackage ../games/angband { };
|
angband = callPackage ../games/angband { };
|
||||||
|
|
||||||
anki = callPackage ../games/anki {
|
anki = callPackage ../games/anki {
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreAudio;
|
inherit (darwin.apple_sdk.frameworks) AVKit CoreAudio;
|
||||||
};
|
};
|
||||||
anki-bin = callPackage ../games/anki/bin.nix { };
|
anki-bin = callPackage ../games/anki/bin.nix { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user