Fix #! line in gtester-report

svn path=/nixpkgs/branches/x-updates/; revision=25915
This commit is contained in:
Yury G. Kudryashov 2011-02-12 08:44:35 +00:00
parent 32f8ebfca3
commit 38b1c5fbfc

View File

@ -8,13 +8,17 @@ stdenv.mkDerivation rec {
sha256 = "0605f538e5c022c237c97a34496979ba71d33c7b10b8d8edb84435498a651fb3";
};
# configure script looks for d-bus but it is only needed for tests
buildInputs = [ pkgconfig gettext ]
++ stdenv.lib.optional (!stdenv.isLinux) libiconv;
buildNativeInputs = [ perl ];
propagatedBuildInputs = [ zlib ];
postInstall = "rm -rf $out/share/gtk-doc";
# glib buildsystem fails to find python, thus hardcodes python2.4 in #!
postInstall = ''
rm -rvf $out/share/gtk-doc
sed -e 's@python2\.4@python@' -i $out/bin/gtester-report'';
meta = {
description = "GLib, a C library of programming buildings blocks";