Merge pull request #112530 from evenbrenden/retext-fix-xdg-desktop
retext: fix XDG desktop file
commit335412e81c314fd16e4ce2e5ec7699a36ee035d3
authorSandro <sandro.jaeckel@gmail.com>
dateMon 22 Mar 2021, 10:20 (6 years ago)
parentb25fee2fc5e831
pkgs/applications/editors/retext/default.nix+4
@@ -33,6 +33,10 @@ in python3.pkgs.buildPythonApplication {
3333 paths = map (path: "${path}/lib/aspell") enchantAspellDicts;
3434 }}"
3535 )
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"
3640 '';
3741
3842 meta = with lib; {