diff --git a/pkgs/applications/networking/irc/communi/default.nix b/pkgs/applications/networking/irc/communi/default.nix index 65a526b88af4..312fd8df908a 100644 --- a/pkgs/applications/networking/irc/communi/default.nix +++ b/pkgs/applications/networking/irc/communi/default.nix @@ -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; {