mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
webkitgtk: Fix build with chroot
This commit is contained in:
parent
1eb42d9d79
commit
1eddec9f9b
1 changed files with 2 additions and 4 deletions
|
@ -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; [
|
||||
|
|
Loading…
Reference in a new issue