From 49897b8859bdbdd3275a038adef49dc2275b29bb Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Mon, 13 Jul 2020 04:20:00 -0500 Subject: [PATCH] SDL2: fix build on darwin --- pkgs/development/libraries/SDL2/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/SDL2/default.nix b/pkgs/development/libraries/SDL2/default.nix index 40fe1c42d7a6..31624bee2fb3 100644 --- a/pkgs/development/libraries/SDL2/default.nix +++ b/pkgs/development/libraries/SDL2/default.nix @@ -49,7 +49,7 @@ stdenv.mkDerivation rec { depsBuildBuild = [ pkgconfig ]; - nativeBuildInputs = [ pkgconfig wayland ]; + nativeBuildInputs = [ pkgconfig ] ++ optionals waylandSupport [ wayland ]; propagatedBuildInputs = dlopenPropagatedBuildInputs;