summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt <pbsds@hotmail.com>2023-10-27 19:56:55 +0200
committerGitHub <noreply@github.com>2023-10-27 19:56:55 +0200
commit3e8e17821822ef190d72db3a612ea9be5a441ca9 (patch)
treeab17910a6fe7457c886ce4e95c381c54fd99dc82 /pkgs/applications/office
parentdf922ca8e566ed0dfbe2f51d100d816a92080960 (diff)
parent3d01ede5bc65dbb885b3e613a5e26f9a18a23e24 (diff)
downloadnixpkgs-3e8e17821822ef190d72db3a612ea9be5a441ca9.tar
nixpkgs-3e8e17821822ef190d72db3a612ea9be5a441ca9.tar.gz
nixpkgs-3e8e17821822ef190d72db3a612ea9be5a441ca9.tar.bz2
nixpkgs-3e8e17821822ef190d72db3a612ea9be5a441ca9.tar.lz
nixpkgs-3e8e17821822ef190d72db3a612ea9be5a441ca9.tar.xz
nixpkgs-3e8e17821822ef190d72db3a612ea9be5a441ca9.tar.zst
nixpkgs-3e8e17821822ef190d72db3a612ea9be5a441ca9.zip
Merge pull request #263371 from scvalex/fix-mytetra
mytetra: fix build
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/mytetra/default.nix4
1 files changed, 4 insertions, 0 deletions
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 = ''