From 358f1c0c467f3dd4d1072e5e83e91190739cd495 Mon Sep 17 00:00:00 2001 From: Benedikt Hunger Date: Tue, 22 Oct 2019 09:49:50 +0200 Subject: [PATCH] pythonPackages.qscintilla-qt5: fix build (cherry picked from commit 9209dcf0303d6e85ae5741943d009aa54a579173) --- pkgs/development/python-modules/qscintilla-qt5/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/qscintilla-qt5/default.nix b/pkgs/development/python-modules/qscintilla-qt5/default.nix index 16369c73ea294..06c9ebc8ed423 100644 --- a/pkgs/development/python-modules/qscintilla-qt5/default.nix +++ b/pkgs/development/python-modules/qscintilla-qt5/default.nix @@ -20,6 +20,8 @@ buildPythonPackage { lndir ${pyqt5} $out rm -rf "$out/nix-support" cd Python + substituteInPlace configure.py \ + --replace "qmake = {'CONFIG': 'qscintilla2'}" "qmake = {'CONFIG': 'qscintilla2', 'QT': 'widgets printsupport'}" ${python.executable} ./configure.py \ --pyqt=PyQt5 \ --destdir=$out/${python.sitePackages}/PyQt5 \ @@ -37,6 +39,5 @@ buildPythonPackage { license = licenses.lgpl21Plus; maintainers = with maintainers; [ lsix ]; homepage = https://www.riverbankcomputing.com/software/qscintilla/; - broken = true; }; }