summary refs log tree commit diff
path: root/pkgs/development/libraries/SDL2_mixer
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_mixer
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_mixer')
-rw-r--r--pkgs/development/libraries/SDL2_mixer/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/SDL2_mixer/default.nix b/pkgs/development/libraries/SDL2_mixer/default.nix
index 00251adb915..f31fe33ea09 100644
--- a/pkgs/development/libraries/SDL2_mixer/default.nix
+++ b/pkgs/development/libraries/SDL2_mixer/default.nix
@@ -23,7 +23,8 @@ stdenv.mkDerivation rec {
   propagatedBuildInputs = [ SDL2 libogg libvorbis fluidsynth smpeg2 flac libmodplug ];
 
   configureFlags = [ "--disable-music-ogg-shared" ]
-    ++ lib.optional enableNativeMidi "--enable-music-native-midi-gpl";
+    ++ lib.optional enableNativeMidi "--enable-music-native-midi-gpl"
+    ++ lib.optionals stdenv.isDarwin [ "--disable-sdltest" "--disable-smpegtest" ];
 
   meta = with stdenv.lib; {
     description = "SDL multi-channel audio mixer library";