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

View File

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