mytetra: fix build

Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com>
This commit is contained in:
Alexandru Scvortov 2023-10-25 17:21:07 +01:00
parent 3fbda64514
commit 3d01ede5bc

View File

@ -23,6 +23,10 @@ mkDerivation rec {
substituteInPlace app/src/views/mainWindow/MainWindow.cpp \
--replace ":/resource/pic/logo.svg" "$out/share/icons/hicolor/48x48/apps/mytetra.png"
# https://github.com/xintrea/mytetra_dev/issues/164
substituteInPlace thirdParty/mimetex/mimetex.c \
--replace "const char *strcasestr" "char *strcasestr"
'';
postFixup = ''