communi: fix .desktop file's Exec path

Changes `Exec` in `communi.desktop` from `/usr/bin/communi` to
`$out/bin/communi`.
This commit is contained in:
Christoph Hrdinka 2016-03-16 15:23:10 +01:00
parent 71655b0b69
commit 1f51e3b8af

View File

@ -29,6 +29,8 @@ stdenv.mkDerivation rec {
postInstall = ''
wrapQtProgram "$out/bin/communi"
substituteInPlace "$out/share/applications/communi.desktop" \
--replace "/usr/bin" "$out/bin"
'';
meta = with stdenv.lib; {