summary refs log tree commit diff
path: root/pkgs/development/libraries/SDL2
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-06-06 19:18:00 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2018-06-06 19:19:30 -0400
commit08c6c6beb46be071202c3973e4f2f2959af13c93 (patch)
tree4551e750e71ff1089c5a53cfbdbb3298717e3efb /pkgs/development/libraries/SDL2
parentdfc4744afd82b2d26a8df71b05ffacf05230af50 (diff)
downloadnixpkgs-08c6c6beb46be071202c3973e4f2f2959af13c93.tar
nixpkgs-08c6c6beb46be071202c3973e4f2f2959af13c93.tar.gz
nixpkgs-08c6c6beb46be071202c3973e4f2f2959af13c93.tar.bz2
nixpkgs-08c6c6beb46be071202c3973e4f2f2959af13c93.tar.lz
nixpkgs-08c6c6beb46be071202c3973e4f2f2959af13c93.tar.xz
nixpkgs-08c6c6beb46be071202c3973e4f2f2959af13c93.tar.zst
nixpkgs-08c6c6beb46be071202c3973e4f2f2959af13c93.zip
SDL2: disable sdltest on darwin
Darwin headless will hang when trying to run the SDL test program.
Diffstat (limited to 'pkgs/development/libraries/SDL2')
-rw-r--r--pkgs/development/libraries/SDL2/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/SDL2/default.nix b/pkgs/development/libraries/SDL2/default.nix
index d852b594f6d..c32f59636a9 100644
--- a/pkgs/development/libraries/SDL2/default.nix
+++ b/pkgs/development/libraries/SDL2/default.nix
@@ -55,7 +55,8 @@ stdenv.mkDerivation rec {
   configureFlags = [
     "--disable-oss"
   ] ++ optional (!x11Support) "--without-x"
-    ++ optional alsaSupport "--with-alsa-prefix=${alsaLib.out}/lib";
+    ++ optional alsaSupport "--with-alsa-prefix=${alsaLib.out}/lib"
+    ++ optional stdenv.isDarwin "--disable-sdltest";
 
   postInstall = ''
     moveToOutput lib/libSDL2main.a "$dev"