Merge pull request #211075 from ppenguin/openmodelica-with-3d-animation

This commit is contained in:
Artturi 2023-07-14 00:00:04 +03:00 committed by GitHub
commit e74e68449c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,7 @@
, binutils
, wrapQtAppsHook
, openmodelica
, openscenegraph
, mkOpenModelicaDerivation
}:
with openmodelica;
@ -19,7 +20,7 @@ mkOpenModelicaDerivation rec {
nativeBuildInputs = [ jre8 qmake qtbase qttools wrapQtAppsHook ];
buildInputs = [ qtwebkit qtxmlpatterns binutils ];
buildInputs = [ qtwebkit openscenegraph qtxmlpatterns binutils ];
postPatch = ''
sed -i ''$(find -name qmake.m4) -e '/^\s*LRELEASE=/ s|LRELEASE=.*$|LRELEASE=${lib.getDev qttools}/bin/lrelease|'