calibre: fix for chroot builds (probably)

This commit is contained in:
Mathijs Kwik 2013-08-25 18:15:19 +02:00
parent c9318f4d2d
commit 4326c06319

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
patchPhase = ''
tar xf ${qt48.src}
sed -i setup/build_environment.py \
-e "s|^qt_private_inc = .*|qt_private_inc = ['%s/%s'%('`pwd`/qt-everywhere-opensource-src-4.8.5/include', m) for m in ('QtGui', 'QtCore')]|"
-e "s|^qt_private_inc = .*|qt_private_inc = ['../qt-everywhere-opensource-src-4.8.5/include/%s'%(m) for m in ('QtGui', 'QtCore')]|"
'';
buildInputs =