pypy: add X libs to build tkinter

This commit is contained in:
Domen Kožar 2014-08-25 19:00:37 +02:00
parent 12776c3748
commit db47d51592

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2, pkgconfig, libffi
, sqlite, openssl, ncurses, pythonFull, expat, tcl, tk }:
, sqlite, openssl, ncurses, pythonFull, expat, tcl, tk, x11, libX11 }:
assert zlibSupport -> zlib != null;
@ -20,7 +20,7 @@ let
sha256 = "0fg4l48c7n59n5j3b1dgcsr927xzylkfny4a6pnk6z0pq2bhvl9z";
};
buildInputs = [ bzip2 openssl pkgconfig pythonFull libffi ncurses expat sqlite tk tcl ]
buildInputs = [ bzip2 openssl pkgconfig pythonFull libffi ncurses expat sqlite tk tcl x11 libX11 ]
++ stdenv.lib.optional (stdenv ? gcc && stdenv.gcc.libc != null) stdenv.gcc.libc
++ stdenv.lib.optional zlibSupport zlib;