summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud.urkud@gmail.com>2011-02-12 08:44:35 +0000
committerYury G. Kudryashov <urkud.urkud@gmail.com>2011-02-12 08:44:35 +0000
commit38b1c5fbfc4339d2d58e919733362c2b05771f1c (patch)
tree771ca7ca58f9d49b68dcde3af7f38f7b98e04c66 /pkgs
parent32f8ebfca322a8738817ecaa1c96494b7106a578 (diff)
downloadnixlib-38b1c5fbfc4339d2d58e919733362c2b05771f1c.tar
nixlib-38b1c5fbfc4339d2d58e919733362c2b05771f1c.tar.gz
nixlib-38b1c5fbfc4339d2d58e919733362c2b05771f1c.tar.bz2
nixlib-38b1c5fbfc4339d2d58e919733362c2b05771f1c.tar.lz
nixlib-38b1c5fbfc4339d2d58e919733362c2b05771f1c.tar.xz
nixlib-38b1c5fbfc4339d2d58e919733362c2b05771f1c.tar.zst
nixlib-38b1c5fbfc4339d2d58e919733362c2b05771f1c.zip
Fix #! line in gtester-report
svn path=/nixpkgs/branches/x-updates/; revision=25915
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/glib/2.28.x.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/libraries/glib/2.28.x.nix b/pkgs/development/libraries/glib/2.28.x.nix
index a6021cff3c9a..89ba886d4a2e 100644
--- a/pkgs/development/libraries/glib/2.28.x.nix
+++ b/pkgs/development/libraries/glib/2.28.x.nix
@@ -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";