about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorSpencer Whitt <sw@swhitt.me>2015-04-18 21:35:01 -0400
committerSpencer Whitt <sw@swhitt.me>2015-04-29 17:39:40 -0400
commit948884ef11b7fa6b375e46c13a39356085be9636 (patch)
treecce28204fbc5abb4d24d078b4abe09074c385814 /pkgs
parent06cf9a961371180f88529bdae3e784bc41b39f89 (diff)
downloadnixlib-948884ef11b7fa6b375e46c13a39356085be9636.tar
nixlib-948884ef11b7fa6b375e46c13a39356085be9636.tar.gz
nixlib-948884ef11b7fa6b375e46c13a39356085be9636.tar.bz2
nixlib-948884ef11b7fa6b375e46c13a39356085be9636.tar.lz
nixlib-948884ef11b7fa6b375e46c13a39356085be9636.tar.xz
nixlib-948884ef11b7fa6b375e46c13a39356085be9636.tar.zst
nixlib-948884ef11b7fa6b375e46c13a39356085be9636.zip
SDL2: pass explicit --without-x flag to configure
Fixes build on Darwin for me, possibly necessary on other systems as
well
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/SDL2/default.nix1
1 files changed, 1 insertions, 0 deletions
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 {