Skip to content

Commit

Permalink
mlx42: remove stuff already included by apple-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
TomaSajt committed Oct 31, 2024
1 parent 3d7142e commit fb26e7f
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions pkgs/by-name/ml/mlx42/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
fetchFromGitHub,
cmake,
glfw,
darwin,
enableShared ? !stdenv.hostPlatform.isStatic,
enableDebug ? false,
}:
Expand Down Expand Up @@ -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) ];

Expand Down

0 comments on commit fb26e7f

Please sign in to comment.