webkitgtk: Fix build with chroot

This commit is contained in:
Shea Levy 2014-03-29 05:00:12 -04:00
parent 1eb42d9d79
commit 1eddec9f9b

View file

@ -25,12 +25,10 @@ stdenv.mkDerivation rec {
patches = [ ./webcore-svg-libxml-cflags.patch ];
CC = "cc";
prePatch = ''
patchShebangs Tools/gtk
for i in $(find . -name '*.p[l|m]'); do
sed -e 's@/usr/bin/gcc@gcc@' -i $i
done
'';
configureFlags = with stdenv.lib; [