tk: attempt to fix build on darwin

It complained about missing fontconfig symbols.
Also fix some white-space.
This commit is contained in:
Vladimír Čunát 2014-04-12 10:44:17 +02:00
parent 7be0e37ca2
commit 0feb117c20

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, tcl, libXft }:
{ stdenv, fetchurl, pkgconfig, tcl, libXft, fontconfig }:
stdenv.mkDerivation {
name = "tk-8.5.15";
@ -18,7 +18,8 @@ stdenv.mkDerivation {
preConfigure = "cd unix";
buildInputs = [ pkgconfig tcl libXft ];
buildInputs = [ pkgconfig tcl libXft ]
++ stdenv.lib.optional stdenv.isDarwin fontconfig;
inherit tcl;