From ac211b0f1c062d153103ca1d8314e2ab2473f3aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alu=C3=ADsio=20Augusto=20Silva=20Gon=C3=A7alves?= Date: Wed, 4 Nov 2020 14:24:27 -0300 Subject: [PATCH] libretro.mame: depend on MetalKit --- pkgs/misc/emulators/retroarch/cores.nix | 4 ++-- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/misc/emulators/retroarch/cores.nix b/pkgs/misc/emulators/retroarch/cores.nix index 0ba765720f368..38f6dd76092d2 100644 --- a/pkgs/misc/emulators/retroarch/cores.nix +++ b/pkgs/misc/emulators/retroarch/cores.nix @@ -1,7 +1,7 @@ { stdenv, fetchgit, fetchFromGitHub, fetchFromGitLab, fetchpatch, cmake, pkgconfig, makeWrapper, python27, python37, retroarch , alsaLib, fluidsynth, curl, hidapi, libGLU, gettext, glib, gtk2, portaudio, SDL, SDL_net, SDL2, SDL2_image, libGL , ffmpeg_3, pcre, libevdev, libpng, libjpeg, libzip, udev, libvorbis, snappy, which, hexdump -, miniupnpc, sfml, xorg, zlib, nasm, libpcap, boost, icu, openssl, AppKit, Cocoa, CoreAudioKit, ForceFeedback, Foundation, libiconv +, miniupnpc, sfml, xorg, zlib, nasm, libpcap, boost, icu, openssl, AppKit, Cocoa, CoreAudioKit, ForceFeedback, Foundation, MetalKit, libiconv , buildPackages }: let @@ -555,7 +555,7 @@ in with stdenv.lib.licenses; extraBuildInputs = [ libGLU libGL portaudio python27 xorg.libX11 ] ++ stdenv.lib.optional stdenv.isLinux alsaLib - ++ stdenv.lib.optionals stdenv.isDarwin [ libpcap Cocoa CoreAudioKit ForceFeedback Foundation ]; + ++ stdenv.lib.optionals stdenv.isDarwin [ libpcap Cocoa CoreAudioKit ForceFeedback Foundation MetalKit ]; postPatch = '' # Prevent the failure during the parallel building of: # make -C 3rdparty/genie/build/gmake.linux -f genie.make obj/Release/src/host/lua-5.3.0/src/lgc.o diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 86957fa270cc4..d48bea73fc881 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27629,7 +27629,7 @@ in libretro = recurseIntoAttrs (callPackage ../misc/emulators/retroarch/cores.nix { retroarch = retroarchBare; - inherit (darwin.apple_sdk.frameworks) AppKit Cocoa CoreAudioKit ForceFeedback Foundation; + inherit (darwin.apple_sdk.frameworks) AppKit Cocoa CoreAudioKit ForceFeedback Foundation MetalKit; }); retrofe = callPackage ../misc/emulators/retrofe { };