openscad: fix qscintilla2 library reference

It is a bit of mystery where it gets qscintilla2_qt5 idea (removing it
from cmake modlues doesn't help, and such a library doesn't exist), so
just force-fix it for now.
This commit is contained in:
Michael Raskin 2019-10-02 10:33:09 +02:00
parent 0cd4732b6c
commit 0fe1972e8c

View file

@ -53,6 +53,10 @@ mkDerivation rec {
# src/lexer.l:36:10: fatal error: parser.hxx: No such file or directory
enableParallelBuilding = false; # true by default due to qmake
preBuild = ''
sed -re 's/qscintilla2_qt5/qscintilla2/g' -i Makefile
'';
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
mkdir $out/Applications
mv $out/bin/*.app $out/Applications