mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
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:
parent
71655b0b69
commit
1f51e3b8af
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue