diff --git a/pkgs/by-name/ml/mlx42/package.nix b/pkgs/by-name/ml/mlx42/package.nix index 72b9f9cc3d23..16634879e2f3 100644 --- a/pkgs/by-name/ml/mlx42/package.nix +++ b/pkgs/by-name/ml/mlx42/package.nix @@ -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) ];