From 948884ef11b7fa6b375e46c13a39356085be9636 Mon Sep 17 00:00:00 2001 From: Spencer Whitt Date: Sat, 18 Apr 2015 21:35:01 -0400 Subject: [PATCH] SDL2: pass explicit --without-x flag to configure Fixes build on Darwin for me, possibly necessary on other systems as well --- pkgs/development/libraries/SDL2/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/SDL2/default.nix b/pkgs/development/libraries/SDL2/default.nix index 68f40cad2598..ade6bc620e4f 100644 --- a/pkgs/development/libraries/SDL2/default.nix +++ b/pkgs/development/libraries/SDL2/default.nix @@ -19,6 +19,7 @@ let --disable-oss --disable-x11-shared --disable-pulseaudio-shared --disable-alsa-shared ${if alsaSupport then "--with-alsa-prefix=${attrs.alsaLib}/lib" else ""} + ${if (!x11Support) then "--without-x" else ""} ''; in stdenv.mkDerivation rec {