forked from mirrors/nixpkgs
* Qt needs `which'. Also fix execute permission for
config.tests/unix. svn path=/nixpkgs/trunk/; revision=2069
This commit is contained in:
parent
0159c5f8de
commit
cc896336ef
|
@ -15,7 +15,7 @@ preConfigure() {
|
|||
mv $i.tmp $i
|
||||
done
|
||||
|
||||
chmod +x config.tests/x11/*.test
|
||||
chmod +x config.tests/*/*.test
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ xftSupport ? true
|
||||
, xrenderSupport ? true
|
||||
, stdenv, fetchurl, x11, libXft ? null, libXrender ? null
|
||||
, zlib, libjpeg, libpng
|
||||
, zlib, libjpeg, libpng, which
|
||||
}:
|
||||
|
||||
assert xftSupport -> libXft != null;
|
||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
|||
md5 = "3e0a0c8429b0a974b39b5f535ddff01c";
|
||||
};
|
||||
|
||||
buildInputs = [x11 libXft libXrender zlib libjpeg libpng];
|
||||
buildInputs = [x11 libXft libXrender zlib libjpeg libpng which];
|
||||
|
||||
inherit xftSupport libXft xrenderSupport libXrender;
|
||||
inherit (libXft) freetype fontconfig;
|
||||
|
|
|
@ -605,7 +605,7 @@ rec {
|
|||
};
|
||||
|
||||
qt3 = import ../development/libraries/qt-3 {
|
||||
inherit fetchurl stdenv x11 zlib libjpeg libpng;
|
||||
inherit fetchurl stdenv x11 zlib libjpeg libpng which;
|
||||
inherit (xlibs) libXft libXrender;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue