git-annex: fix executable path in desktop file

This commit is contained in:
Robert Schütz 2024-08-08 08:26:49 -07:00
parent 5544b2785f
commit d43b5f6caf

View File

@ -428,6 +428,12 @@ self: super: {
# (this should be possible by also taking PREFIX into account).
./patches/git-annex-no-usr-prefix.patch
];
postPatch = ''
substituteInPlace Makefile \
--replace-fail 'InstallDesktopFile $(PREFIX)/bin/git-annex' \
'InstallDesktopFile git-annex'
'';
}) super.git-annex;
# Too strict bounds on servant