python3Packages.qscintilla-qt5: fix build
This commit is contained in:
parent
4bf49d9417
commit
edc638c4b7
@ -15,6 +15,13 @@ buildPythonPackage {
|
||||
buildInputs = [ qscintilla ];
|
||||
propagatedBuildInputs = [ pyqt5 ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Python/configure.py \
|
||||
--replace \
|
||||
"target_config.py_module_dir" \
|
||||
"'$out/${python.sitePackages}'"
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
mkdir -p $out
|
||||
lndir ${pyqt5} $out
|
||||
@ -26,6 +33,7 @@ buildPythonPackage {
|
||||
--stubsdir=$out/${python.sitePackages}/PyQt5 \
|
||||
--apidir=$out/api/${python.libPrefix} \
|
||||
--qsci-incdir=${qscintilla}/include \
|
||||
--qsci-featuresdir=${qscintilla}/mkspecs/features \
|
||||
--qsci-libdir=${qscintilla}/lib \
|
||||
--pyqt-sipdir=${pyqt5}/share/sip/PyQt5 \
|
||||
--qsci-sipdir=$out/share/sip/PyQt5 \
|
||||
|
Loading…
Reference in New Issue
Block a user