From b27bdf4ec8a02c1c956b15c344069f492b4babc6 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 --- 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 963ee82feda..96485bd1f06 100644 --- a/pkgs/development/python-modules/qscintilla-qt5/default.nix +++ b/pkgs/development/python-modules/qscintilla-qt5/default.nix @@ -27,6 +27,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 \ @@ -45,6 +47,5 @@ buildPythonPackage { license = licenses.lgpl21Plus; maintainers = with maintainers; [ lsix ]; homepage = https://www.riverbankcomputing.com/software/qscintilla/; - broken = true; }; }