Merge pull request #112530 from evenbrenden/retext-fix-xdg-desktop

retext: fix XDG desktop file

authored by

Sandro and committed by
GitHub
335412e8 b25fee28

+4
+4
pkgs/applications/editors/retext/default.nix
··· 33 paths = map (path: "${path}/lib/aspell") enchantAspellDicts; 34 }}" 35 ) 36 ''; 37 38 meta = with lib; {
··· 33 paths = map (path: "${path}/lib/aspell") enchantAspellDicts; 34 }}" 35 ) 36 + 37 + substituteInPlace $out/share/applications/me.mitya57.ReText.desktop \ 38 + --replace "Exec=ReText-${version}.data/scripts/retext %F" "Exec=$out/bin/retext %F" \ 39 + --replace "Icon=ReText-${version}.data/data/share/retext/icons/retext.svg" "Icon=$out/share/retext/icons/retext.svg" 40 ''; 41 42 meta = with lib; {