From 089445a0e26531fe6c2417e0cd4101289fd28563 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Sun, 3 Jan 2021 14:22:36 -0700 Subject: [PATCH] retroarch: fix darwin build --- pkgs/misc/emulators/retroarch/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/emulators/retroarch/default.nix b/pkgs/misc/emulators/retroarch/default.nix index bfc2c338769c3..669ffd7e79b40 100644 --- a/pkgs/misc/emulators/retroarch/default.nix +++ b/pkgs/misc/emulators/retroarch/default.nix @@ -32,8 +32,9 @@ stdenv.mkDerivation rec { rev = "v${version}"; }; - nativeBuildInputs = [ pkgconfig wayland ] - ++ optional withVulkan makeWrapper; + nativeBuildInputs = [ pkgconfig ] + ++ optional withVulkan makeWrapper + ++ optional stdenv.isLinux wayland; buildInputs = [ ffmpeg_3 freetype libxml2 libGLU libGL python3 SDL2 which ] ++ optional enableNvidiaCgToolkit nvidia_cg_toolkit