Unverified Commit fb26e7f3 authored by TomaSajt's avatar TomaSajt
Browse files

mlx42: remove stuff already included by apple-sdk

parent 3d7142eb
Loading
Loading
Loading
Loading
+1 −11
Original line number Diff line number Diff line
@@ -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) ];