From 4326c0631960119f720adbdc3a4142a26dd4f7aa Mon Sep 17 00:00:00 2001 From: Mathijs Kwik Date: Sun, 25 Aug 2013 18:15:19 +0200 Subject: [PATCH] calibre: fix for chroot builds (probably) --- pkgs/applications/misc/calibre/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/calibre/default.nix b/pkgs/applications/misc/calibre/default.nix index 559a4d3ea0bb..0987f961bafd 100644 --- a/pkgs/applications/misc/calibre/default.nix +++ b/pkgs/applications/misc/calibre/default.nix @@ -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 =