summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/SDL2_net/default.nix
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_net/default.nix
parentdfc4744afd82b2d26a8df71b05ffacf05230af50 (diff)
SDL2: disable sdltest on darwin
Darwin headless will hang when trying to run the SDL test program.
Diffstat (limited to 'pkgs/development/libraries/SDL2_net/default.nix')
-rw-r--r--pkgs/development/libraries/SDL2_net/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/SDL2_net/default.nix b/pkgs/development/libraries/SDL2_net/default.nix
index 780444d51f4f..5cadfb9d9051 100644
--- a/pkgs/development/libraries/SDL2_net/default.nix
+++ b/pkgs/development/libraries/SDL2_net/default.nix
@@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.libobjc;
+ configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
+
propagatedBuildInputs = [ SDL2 ];
meta = with stdenv.lib; {