mlx42: remove stuff already included by apple-sdk

This commit is contained in:
TomaSajt 2024-10-31 20:07:50 +01:00
parent 3d7142eb1f
commit fb26e7f3cb
No known key found for this signature in database
GPG Key ID: F011163C050122A1

View File

@ -4,7 +4,6 @@
fetchFromGitHub, fetchFromGitHub,
cmake, cmake,
glfw, glfw,
darwin,
enableShared ? !stdenv.hostPlatform.isStatic, enableShared ? !stdenv.hostPlatform.isStatic,
enableDebug ? false, enableDebug ? false,
}: }:
@ -33,16 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = buildInputs = [ glfw ];
[ glfw ]
++ lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks;
[
OpenGL
Cocoa
IOKit
]
);
cmakeFlags = [ (lib.cmakeBool "DEBUG" enableDebug) ]; cmakeFlags = [ (lib.cmakeBool "DEBUG" enableDebug) ];