mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
pyxel: remove stuff already included by apple-sdk
This commit is contained in:
parent
4fbd79e56f
commit
d4ca0a4783
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user