openscad: remove useless preBuild phase

The preBuild phase was introduced to follow a modification in qscintilla
build (76ad2796be) that forced the library
libqscintilla2_qt5.so to be called libqscintilla2.so. This has been
inproved in 4bf49d9417 so the preBuild
trick is not necessary anymore.
This commit is contained in:
Lancelot SIX 2019-10-04 15:24:16 +02:00
parent b52fb3b078
commit 51c6082a9f
No known key found for this signature in database
GPG key ID: 02E1542BA66FB047

View file

@ -53,10 +53,6 @@ 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