summary refs log tree commit diff
path: root/pkgs/development/libraries/SDL2
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-07-13 04:20:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-07-13 04:20:00 -0500
commit49897b8859bdbdd3275a038adef49dc2275b29bb (patch)
treeb8c61ca20574e4a9f0d65246b0184a98dfe1d8fb /pkgs/development/libraries/SDL2
parent016595d931bef6334a7dd7b70146378499b69c72 (diff)
downloadnixpkgs-49897b8859bdbdd3275a038adef49dc2275b29bb.tar
nixpkgs-49897b8859bdbdd3275a038adef49dc2275b29bb.tar.gz
nixpkgs-49897b8859bdbdd3275a038adef49dc2275b29bb.tar.bz2
nixpkgs-49897b8859bdbdd3275a038adef49dc2275b29bb.tar.lz
nixpkgs-49897b8859bdbdd3275a038adef49dc2275b29bb.tar.xz
nixpkgs-49897b8859bdbdd3275a038adef49dc2275b29bb.tar.zst
nixpkgs-49897b8859bdbdd3275a038adef49dc2275b29bb.zip
SDL2: fix build on darwin
Diffstat (limited to 'pkgs/development/libraries/SDL2')
-rw-r--r--pkgs/development/libraries/SDL2/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/SDL2/default.nix b/pkgs/development/libraries/SDL2/default.nix
index 40fe1c42d7a..31624bee2fb 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;