From 3d01ede5bc65dbb885b3e613a5e26f9a18a23e24 Mon Sep 17 00:00:00 2001 From: Alexandru Scvortov Date: Wed, 25 Oct 2023 17:21:07 +0100 Subject: mytetra: fix build Co-authored-by: Peder Bergebakken Sundt --- pkgs/applications/office/mytetra/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkgs/applications/office') diff --git a/pkgs/applications/office/mytetra/default.nix b/pkgs/applications/office/mytetra/default.nix index 166210704aa..b7d53507c4c 100644 --- a/pkgs/applications/office/mytetra/default.nix +++ b/pkgs/applications/office/mytetra/default.nix @@ -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 = '' -- cgit 1.4.1