diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-06-06 19:18:00 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-06-06 19:19:30 -0400 |
commit | 08c6c6beb46be071202c3973e4f2f2959af13c93 (patch) | |
tree | 4551e750e71ff1089c5a53cfbdbb3298717e3efb /pkgs/development/libraries/SDL2_gfx | |
parent | dfc4744afd82b2d26a8df71b05ffacf05230af50 (diff) | |
download | nixpkgs-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_gfx')
-rw-r--r-- | pkgs/development/libraries/SDL2_gfx/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/SDL2_gfx/default.nix b/pkgs/development/libraries/SDL2_gfx/default.nix index 04ec3f9652c..803cc97a8ae 100644 --- a/pkgs/development/libraries/SDL2_gfx/default.nix +++ b/pkgs/development/libraries/SDL2_gfx/default.nix @@ -13,7 +13,8 @@ stdenv.mkDerivation rec { buildInputs = [ SDL2 ] ++ stdenv.lib.optional stdenv.isDarwin darwin.libobjc; - configureFlags = if stdenv.isi686 || stdenv.isx86_64 then "--enable-mmx" else "--disable-mmx"; + configureFlags = [(if stdenv.isi686 || stdenv.isx86_64 then "--enable-mmx" else "--disable-mmx")] + ++ stdenv.lib.optional stdenv.isDarwin "--disable-sdltest"; meta = with stdenv.lib; { description = "SDL graphics drawing primitives and support functions"; |