mlx42: remove stuff already included by apple-sdk
This commit is contained in:
parent
3d7142eb1f
commit
fb26e7f3cb
@ -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) ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user