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