From 5147b9d30a1904ee324154192c81d2039abdeff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Tue, 29 Mar 2016 11:55:44 +0200 Subject: [PATCH] pythonPackages.poppler-qt4: fix build by a hack /cc maintainer @sepi. --- pkgs/top-level/python-packages.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index dd109462dd55..c8f6b65cba20 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6911,6 +6911,8 @@ in modules // { preBuild = "${python}/bin/${python.executable} setup.py build_ext" + " --include-dirs=${pkgs.poppler_qt4}/include/poppler/"; + NIX_CFLAGS_COMPILE = "-I${pkgs.poppler_qt4}/include/poppler/"; + meta = { description = "A Python binding to Poppler-Qt4"; longDescription = ''