pyxel: remove stuff already included by apple-sdk

This commit is contained in:
TomaSajt 2024-10-31 19:59:50 +01:00
parent 4fbd79e56f
commit d4ca0a4783
No known key found for this signature in database
GPG Key ID: F011163C050122A1

View File

@ -1,12 +1,9 @@
{
lib,
stdenv,
python3,
fetchFromGitHub,
rustPlatform,
SDL2,
libiconv,
darwin,
}:
python3.pkgs.buildPythonApplication rec {
@ -44,12 +41,7 @@ python3.pkgs.buildPythonApplication rec {
bindgenHook
];
buildInputs =
[ SDL2 ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
darwin.apple_sdk.frameworks.IOKit
];
buildInputs = [ SDL2 ];
env.NIX_CFLAGS_COMPILE = "-I${lib.getDev SDL2}/include/SDL2";