3
0
Fork 0
forked from mirrors/nixpkgs

Fix JWM build

svn path=/nixpkgs/trunk/; revision=26404
This commit is contained in:
Michael Raskin 2011-03-17 19:21:26 +00:00
parent 3677d79b63
commit 39dc794d4a

View file

@ -1,4 +1,5 @@
{ stdenv, fetchurl, libX11, libXext, libXinerama, libXpm, libXft }:
{ stdenv, fetchurl, libX11, libXext, libXinerama, libXpm, libXft, freetype,
fontconfig }:
stdenv.mkDerivation {
name = "jwm-2.0.1";
@ -8,7 +9,13 @@ stdenv.mkDerivation {
sha256 = "1ix5y00cmg3cyazl0adzgv49140zxaf2dpngyg1dyy4ma6ysdmnw";
};
buildInputs = [ libX11 libXext libXinerama libXpm libXft ];
buildInputs = [ libX11 libXext libXinerama libXpm libXft freetype
fontconfig ];
preConfigure = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${freetype}/include/freetype2 "
export NIX_LDFLAGS="$NIX_LDFLAGS -lXft -lfreetype -lfontconfig "
'';
postInstall =
''